文件名称:calculadora-do-cidadao:Brazilian巴西雷亚尔货币调整修正工具
文件大小:238KB
文件格式:ZIP
更新时间:2024-05-05 00:19:46
python brazil data-analysis brasil monetary
市民计算器 用于更正值的Python软件包。 查看和以获取更多详细信息! 使用例 In [ 1 ]: from datetime import date ...: from decimal import Decimal ...: from calculadora_do_cidadao import Ipca In [ 2 ]: ipca = Ipca () In [ 3 ]: ipca . adjust ( date ( 2018 , 7 , 6 )) Out [ 3 ]: Decimal ( '1.051202206630561280035407253' ) In [ 4 ]: ipca . adjust ( "2014-07-08" , 7 ) Out [ 4 ]: Decimal ( '9.407523138792336916983267321' ) In [ 5 ]: