-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

heres a quick one for you,
I have a series of data that I am using dictionaries to build histograms for. I'd like to round the data to the nearest 10, i.e if the value is 15.34 should we round down to 10? and conversely rounding say 19.30 to 20. I'm thinking 15.5 and above would round up. Can anyone point me a at a quick and painless way of achieving this?


 cheers

Kim

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB/Uo9er2hmGbHcokRAroEAJ9ALQrg7Ku3K62RNiFy0HUki6LjZwCeL4c3
uAT7UoIMg/IzJavBMR2Wbik=
=FwNi
-----END PGP SIGNATURE-----

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to