Aras Innovator can automatically handle the format of Decimal Property with client culture. See below figures, users can find different number output in different culture. The problem is, system only handles the decimal separator. Although Aras Innovator is not a kind of accounting system, it still makes inconvenience for recognizing price data. Figure 1. The decimal data in default culture (en-US). Figure 2. The decimal data in German culture (de-DE). Solution Open "\Innovator\Client\javascript\ArasNumberHelper.js". Move to line 38 and add below code to "ArasNumberHelperFormat" function. Save file. if (locale!==null) { //Called by converting from neutral this.requestModules(); locale = this.localizationModule.normalizeLocale(locale); var formatResult,temp,digits; if (pattern) { temp = pattern.split('.'); digits = Math.min(temp[1] ? temp[1].length : 0, 20); } else { formatResult = number.toString()...
Programming notes from a non-expert guy who keeps learning in various applications.