List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:January 12 2004 10:36pm
Subject:Re: Rounding to nearest one sixteenth of an inch.
View as plain text  
In the last episode (Jan 12), Richard Davies said:
> Does anyone have any ideas on how to round a number in the form
> float(3,4) to the nearest sixteenth of an inch.
> 
> eg ending in 
> .0625,
> .125
> .1875
> .25
> .3125

ROUND(myfield*16)/16

should work.

-- 
	Dan Nelson
	dnelson@stripped
Thread
Rounding to nearest one sixteenth of an inch.Richard Davies12 Jan
  • Re: Rounding to nearest one sixteenth of an inch.Dan Nelson12 Jan