hexdecode
V2EX  ›  微软

微软 PowerAutomate 问题

  •  
  •   hexdecode · Nov 9, 2023 · 1590 views
    This topic created in 1105 days ago, the information mentioned may be changed or developed.
    4 replies  •  2023-11-09 17:27:04 +08:00
    Tumblr
    Tumblr
    Nov 9, 2023
    1
    简单试了一下,貌似是没问题的。逻辑就是:
    1. 先定义几个变量:高温、低温、单位(单位可以不定义,直接用 string 也行)
    2. 判断输出结果单位是华氏还是摄氏,如果是华氏,则进行转换;如果是摄氏,就直接赋值。转换是这样子:
    mul(sub(int(outputs('TempHCal')), 32), 0.5556)
    结果是这样子(可以用 int 做一下取整):
    High of 29.4468°C and low of 22.7796°C. 13% chance of rain.
    hexdecode
    hexdecode
    OP
    Nov 9, 2023
    2
    @Tumblr 感谢老哥🙏!可以分享一下您的链接吗 学习一下👏🏻
    Tumblr
    Tumblr
    Nov 9, 2023
    3
    @hexdecode #2 我测完直接删了,没有保留。
    hexdecode
    hexdecode
    OP
    Nov 9, 2023
    4
    @Tumblr 哈哈哈哈 好的!老哥!目前已经解决啦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4437 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 07:55 · PVG 15:55 · LAX 23:55 · JFK 02:55
    ♥ Do have faith in what you're doing.