PageSourceSearch

https://static.smc.eu/webfiles/1789401511965/js/knockout/knockout.common-prices.js

js smc.eu collected 2026-10-02 11:25:58 UTC 423 bytes, 21 lines download raw bytes

1/**
2 * Global common utils for Knockout
3 * @author Mikel Cano
4 */
5(function(globalKoPrices){
6
7    function convertDoubleToStringI18n(price, language) {
8
9        if(!language) {
10            language = 'en';
11        }
12
13        return price.toLocaleString(language, { maximumSignificantDigits: 2 });
14    
15    }
16    
17    globalKoPrices.koPrices = {
18        convertDoubleToStringI18n: convertDoubleToStringI18n
19    }
20
21})(window)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.