xyok
V2EX  ›  问与答

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

  •  
  •   xyok · Apr 6, 2015 · 1733 views
    This topic created in 4079 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   ·   2778 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:13 · PVG 23:13 · LAX 08:13 · JFK 11:13
    ♥ Do have faith in what you're doing.