How do I go from 1.4795e+004 to 14795.00?

后端 未结 3 782
梦谈多话
梦谈多话 2020-12-10 20:01

I have this problem that has been bothering me for quite a while.. I want to change the format of the number.. Don`t know how? Ive tried the help files but can\'t find the a

3条回答
  •  伪装坚强ぢ
    2020-12-10 20:34

    Use the format command

    Example:

    format long; pi
       3.141592653589793
    format short e; pi
       3.1416e+000
    format short g; pi
       3.1416
    

提交回复
热议问题