V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
IanPeverell
V2EX  ›  Processing

processing 中变量的转换

  •  
  •   IanPeverell · 2015-04-06 21:52:36 +08:00 · 6759 次点击
    这是一个创建于 3279 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如何将int型转化为string型的变量
    我打算做一个processing的小程序,作为日记使用,自动将日期作为文件名储存,但是不知道如何将int转化为string

    int m = month() 将月份储存到变量名内

    之后就不知道怎么转化了

    最后,很抱歉我找不到processing的节点,只好把它放到相近的Arduino里TAT

    1 条回复    2015-04-06 22:39:54 +08:00
    jimmy66
        1
    jimmy66  
       2015-04-06 22:39:54 +08:00
    你需要的应该是这个 https://processing.org/reference/strconvert_.html 其实google下就搜到了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5369 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:31 · PVG 09:31 · LAX 18:31 · JFK 21:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.