Skip to content

Instantly share code, notes, and snippets.

@yamert
Created October 8, 2021 17:41
Show Gist options
  • Save yamert/63188c5f95353604f3ee4423b79e99a9 to your computer and use it in GitHub Desktop.
Save yamert/63188c5f95353604f3ee4423b79e99a9 to your computer and use it in GitHub Desktop.
salary
on_hands_rub = 400000
curs_dollara = 72
on_hands_doll = on_hands_rub / (curs_dollara * 1.0)
tk_ip_koeff = 12.0 / 11.0
print("HANDS rub: {:.1f}".format(on_hands_rub))
print("HANDS doll: ${:.1f}".format(on_hands_doll))
print("TK GROSS rub: {:.1f}".format(on_hands_rub / 0.87))
print("TK GROSS doll: ${:.1f}".format(on_hands_doll / 0.87))
ip_koeff_total = tk_ip_koeff + 0.3
ip_koeff_total_delta = (ip_koeff_total - 1.0) * 100.0
print("IP rub: {:.1f}".format(on_hands_rub * (tk_ip_koeff + 0.3)), ", delta = {:3.1f}%".format(ip_koeff_total_delta))
print("IP doll: ${:.1f}".format(on_hands_doll * (tk_ip_koeff + 0.3)), ", delta = {:3.1f}%".format(ip_koeff_total_delta))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment