Skip to content

Instantly share code, notes, and snippets.

@UskeS
Created Mar 31, 2022
Embed
What would you like to do?
[JXA][Automator] 選択したmm単位表記テキストをinch単位に変換して置換する
function run(input, parameters) {
var input = parseFloat(input[0]);
return (Math.round(input * 1000 / 254) / 100) + "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment