Forum Discussion
SClarke501
4 years agoFrequent Visitor
Converting visible numbers to plain text
Bit of a strange one but I can't figure out how to do this in Power Query. I have a column of decimal numbers, where I need to differentiate between things like 1.1 and 1.10 (1.10 wants to be tre...
- Anonymous4 years ago
Hi SClarke501 ,
You can use Number.RroundUp() to convert 2.29999999 to 2.3.
And the new column can be changed to text type.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Sounds like some floating point math stuff. You can use fixed decimal or double precision, I'm not at my desk, but if you do your math at Value.Add/Multiply/etc. you can control the precision--check the docs here:
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference
--Nate