wedata

Database: UStoreScriptFunction8

Item Details: 共通関数定義

spec_version 1
content function add(x, y) { if (isEmpty(x) || isEmpty(y)) return null; return x + y; } function div(x , y) { if (isEmpty(x) || isEmpty(y)) return null; return x / y; } function redOx(x, y) { if (isEmpty(x) || isEmpty(y)) return ""; return x / y; } function redPar(x, y) { if (isEmpty(x) || isEmpty(y)) return ""; return x / (x + y) * 100; } function isEmpty(v) { return v == null || v == ""; }

History

Back