I'm trying to write a function that counts the number of significant figures a given number has so I can ensure my calculations are rounded correctly; however, I am having a lot of trouble preventing the formatting engine from changing my inputs. For instance,
1.3432 when I would like a way for the output to keep the raw input of a number as the original
00001.343200 or, failing that,
ToString does the same thing. Phrased differently, I would like to suppress whatever is converting my input with leading and or trailing zeroes to an output that lacks leading and trailing zeroes.
Does anyone know how to do this, or find an equivalent solution?