xyok
V2EX  ›  问与答

R 语言求教: a=4.0e-80,怎么把 a 转成字符串“4.0e-80”而不是“4e-80”

  •  
  •   xyok · Apr 6, 2015 · 1814 views
    This topic created in 4127 days ago, the information mentioned may be changed or developed.
    用as.character(a)会把小数略去了,
    options(digits)设置没效果
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1111 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:36 · PVG 07:36 · LAX 16:36 · JFK 19:36
    ♥ Do have faith in what you're doing.