xyok
V2EX  ›  问与答

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

  •  
  •   xyok · Apr 6, 2015 · 1807 views
    This topic created in 4121 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   ·   1156 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:58 · PVG 01:58 · LAX 10:58 · JFK 13:58
    ♥ Do have faith in what you're doing.