create account

RE: Python Programming Tutorials - Number Type Conversion by trickbrown

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @alucard14/python-programming-tutorials-number-type-conversion

· @trickbrown ·
You should throw in some examples of negative numbers. Depending on the programming language, negative numbers may round differently.

I've never programmed in Python, but I think it rounds everything toward negative infinity, if memory serves, but no doubt, you would know better than I.  :)
👍  
properties (23)
authortrickbrown
permlinkre-alucard14-python-programming-tutorials-number-type-conversion-20180324t201148070z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-03-24 20:11:48
last_update2018-03-24 20:11:48
depth1
children0
last_payout2018-03-31 20:11:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length292
author_reputation143,590,196,758
root_title"Python Programming Tutorials - Number Type Conversion"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id46,388,171
net_rshares572,844,698
author_curate_reward""
vote details (1)