IanPeverell

processing 中变量的转换

  •  
  •   IanPeverell · Apr 6, 2015 · 9985 views
    This topic created in 4052 days ago, the information mentioned may be changed or developed.

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

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

    之后就不知道怎么转化了

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

    1 replies    2015-04-06 22:39:54 +08:00
    jimmy66
        1
    jimmy66  
       Apr 6, 2015
    你需要的应该是这个 https://processing.org/reference/strconvert_.html 其实google下就搜到了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3226 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 14:19 · PVG 22:19 · LAX 07:19 · JFK 10:19
    ♥ Do have faith in what you're doing.