From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Tue Jul 12 2011 - 13:01:26 CDT

>
> nonsense. round() works well:

yes, but doing it like this may be more elegant (although this is a personal
preference and depends on the use-case).

vmd> namespace import ::tcl::mathfunc::*
vmd> puts [round 0.1]
0
vmd> puts [round 1.1]
1
vmd> puts [round -0.1]
0
vmd> puts [round -1.1]
-1

Best regards,
Ajasja