AppleScript名:テキストのパーセント表記を数値に変換する |
— Created 2018-03-18 by Takaaki Naganoya — 2018 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set aStr to current application’s NSString’s stringWithString:"80%" set aNum to aStr’s intValue() –> 80 set bNum to aStr’s doubleValue() –> 80.0 |
More from my site
(Visited 57 times, 1 visits today)