hexdecode
V2EX  ›  微软

微软 PowerAutomate 问题

  •  
  •   hexdecode · Nov 9, 2023 · 1186 views
    This topic created in 959 days ago, the information mentioned may be changed or developed.
    4 replies    2023-11-09 17:27:04 +08:00
    Tumblr
        1
    Tumblr  
       Nov 9, 2023
    简单试了一下,貌似是没问题的。逻辑就是:
    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
        2
    hexdecode  
    OP
       Nov 9, 2023
    @Tumblr 感谢老哥🙏!可以分享一下您的链接吗 学习一下👏🏻
    Tumblr
        3
    Tumblr  
       Nov 9, 2023
    @hexdecode #2 我测完直接删了,没有保留。
    hexdecode
        4
    hexdecode  
    OP
       Nov 9, 2023
    @Tumblr 哈哈哈哈 好的!老哥!目前已经解决啦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   995 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:42 · PVG 02:42 · LAX 11:42 · JFK 14:42
    ♥ Do have faith in what you're doing.