angeltails
V2EX  ›  问与答

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

  •  
  •   angeltails · Jul 31, 2019 · 1020 views
    This topic created in 2487 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   ·   2983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 08:34 · PVG 16:34 · LAX 01:34 · JFK 04:34
    ♥ Do have faith in what you're doing.