var Format = wNumb({ decimals: 0, thousand: ' ' }); Format.to(10000); => "10 000" Format.from('10 000'); => 10000