How to add to a numeric data type with 1 digit decimal a zero.
For Instance
Assuming that I got a result from a calculation 7.7 which means 7.07, how to add the leading zero or how to convert to a 2 decimal points
The ROUND() rounds it to 7.70 and or 8.0 and what I am looking for to be 2 decimal points with the leading zero, in other word the result should be 7.07
I will really appriciates for sample code that converts from 7.7 to 7.07
Thanks
Jose

Shubham Sharma46 reputationPosted Jul 9, 2018, 3:36 PM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Jul 9, 2018, 3:27 PM EDT
Kapil Singh KumawatRank #735 · 3.2K reputationPosted Jul 9, 2018, 10:31 PM EDT
Jose SaizRank #5,346 · 302 reputationPosted Jul 10, 2018, 2:03 AM EDT
Jayesh VaghasiyaRank #9,790 · 202 reputationPosted Sep 6, 2018, 10:34 PM EDT