In excel the function call "=round(12345,-3)" would resolve to "12000". That is, the -3 rounding parameter allows the application of significant figures before the decimal point.
Does anyone know of an easy way (i.e. existing library call rather than a writing a custom divide/round/multiply function) to do this in f#?
Math.Round (12345, -3) fails because the second value in the tuple is required to be positive.