Bill Luebkert wrote:
> Try this one - the second round sub adds a .5 at one level below the
> desired precision (which should only register when you're at a .5,
> .05, .005, etc.:

Would it be easier to simply: (int((x + 0.05) * 10))/10

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to