xyok
V2EX  ›  问与答

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

  •  
  •   xyok · Apr 6, 2015 · 1731 views
    This topic created in 4078 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   ·   2479 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:48 · PVG 08:48 · LAX 17:48 · JFK 20:48
    ♥ Do have faith in what you're doing.