I am trying to take a metric number and convert it to a decimal, then round it to the nearest 16th of an inch.
Example 415.131256m -> decimals is 16.34375in.~
Here is were I am running into problems. I cannot seem to find the correct code to round that answer down to 16.3125. Everything I try seems to bring it up to 16.375.
Any help would be greatly appreciated. Thanks in advance.
Example 415.131256m -> decimals is 16.34375in.~
Here is were I am running into problems. I cannot seem to find the correct code to round that answer down to 16.3125. Everything I try seems to bring it up to 16.375.
Any help would be greatly appreciated. Thanks in advance.