A problem on round()

Hi

I want to keep it to two decimal places using round function. I see the following in Zerynth document.
https://olddocs.zerynth.com/latest/official/core.zerynth.stdlib/docs/official_core.zerynth.stdlib___builtins__.html?highlight=round#builtins.round

a = round(450.449999999, 2)
When round function is used as above, I want to get 450.45.
However, when I print a, I still get 450.449999999
Is there any way to get 450.45? I use Zerynth 2.6.4 beta version

Thanks

for truncating the number, you can use the formating as in:
print('%.2f' % a)
Since Ceil() and floor() returns integars, I think they are not useful in your case so I think you need to implement a simple function that rounds numbers as you want.