Created
May 31, 2021 02:01
-
-
Save wookay/04e65570e4d55a992e05f2457c57a75a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 종합소득세 검산 https://www.facebook.com/seungjoon.choi/posts/10224347898020604 | |
julia> 수입금액 = [250_000, 500_000, 750_000] | |
3-element Vector{Int64}: | |
250000 | |
500000 | |
750000 | |
julia> 경비율 = [0.587, 0.617, 0.723] # 단순경비율 적용 | |
3-element Vector{Float64}: | |
0.587 | |
0.617 | |
0.723 | |
julia> 소득금액 = sum(수입금액 .* (1 .- 경비율)) | |
502500.0 | |
julia> 기납부세액 = sum(수입금액) * 0.033 # 원천징수 | |
49500.0 | |
julia> 세율 = 0.15 | |
0.15 | |
julia> 결정세액 = 소득금액 * 세율 | |
75375.0 | |
julia> 종합소득세_최종_납부세액 = 결정세액 - 기납부세액 | |
25875.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment