Returns a Measure that is rounded to he closest multiple of toNearest, and has the the units of toNearest.
val length = 25 * incheslength toNearest 1 * feet // 2.0 feetlength toNearest 0.1 * meters // 0.6 m