Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Loss of precision when concatenating an exchange rate with a string
+0
−0
In response to a Q on Web Applications [WA] the asker self-answered with:
=CONCATENATE("@ £/€ rate: ",text(J21,"0.00000"))
The issue was that, with "in a cell J21 I have a set value 1.10000":.
=CONCATENATE("@ £/€ rate: ",(J21))
was returning @ £/€ rate: 1.1
rather than @ £/€ rate: 1.10000
.
Is there a shorter and/or clearer formula to the same effect?
0 comment threads