angeltails
V2EX  ›  问与答

125e342.83 这个数是什么意思,是用的科学计数法吗, e 后面不应该是整数吗?

  •  
  •   angeltails · Jul 31, 2019 · 1084 views
    This topic created in 2529 days ago, the information mentioned may be changed or developed.
    mysql> SELECT CAST('125e342.83' AS signed);
    +---------------------------------------+
    | CAST('125e342.83' AS signed) |
    +---------------------------------------+
    | 125 |
    +---------------------------------------+
    这是把字符串转化为整数吗,那原来这个数表示的是什么数,浮点数吗?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2553 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:27 · PVG 23:27 · LAX 08:27 · JFK 11:27
    ♥ Do have faith in what you're doing.