すぁ
すぁ
PDCPlayerRealms developerS Community
Created by すぁ on 10/25/2024 in #help-forum
数字の少数第2位まで表示させたい
set {_parce} to "%round({_parce} * 100)%"
set {_parce::*} to split {_parce} at ""
set {_i} to length of {_parce} - 2

set {_parce::%{_i}%} to 0 if {_parce::%{_i}%} isn't set

set {_parce::%{_i}%} to "%{_parce::%{_i}%}%."
set {_parce} to join {_parce::*} with ""
set {_parce} to "%round({_parce} * 100)%"
set {_parce::*} to split {_parce} at ""
set {_i} to length of {_parce} - 2

set {_parce::%{_i}%} to 0 if {_parce::%{_i}%} isn't set

set {_parce::%{_i}%} to "%{_parce::%{_i}%}%."
set {_parce} to join {_parce::*} with ""
後ろから?文字目っていうのが難しかったので、読みにくくなってしまったけどsplitつかってこんな感じで実現できました。ありがとうございました!
16 replies
PDCPlayerRealms developerS Community
Created by すぁ on 10/25/2024 in #help-forum
数字の少数第2位まで表示させたい
そうです
16 replies
PDCPlayerRealms developerS Community
Created by すぁ on 10/25/2024 in #help-forum
数字の少数第2位まで表示させたい
No description
16 replies
PDCPlayerRealms developerS Community
Created by すぁ on 10/25/2024 in #help-forum
数字の少数第2位まで表示させたい
No description
16 replies
PDCPlayerRealms developerS Community
Created by rea on 10/13/2024 in #help-forum
clicked itemが使えない
event-item を使ってみてください。
11 replies