I have a floating point number in exponential format i.e. 4.1595246940817E-17
and I want to convert it into decimal number like 2.99 etc.
Any help will be appreciated.
format_number()
sprintf()
don't seem to be working for me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…