1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    23
    Vote Rating
    1
    Black Moon is on a distinguished road

      0  

    Default space thousand number separator

    space thousand number separator


    Hi All!


    Ext provides thousand separator for numbers (comma or point). I need space as thousand separator and point as decimal.

    Can it be made with number formatting?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You could create a function:

    Code:
    > val = 25000.30;
    > fmtVal = Ext.util.Format.number(val, '0,000.00');
    > fmtSpace = fmtVal.replace(',',' ');
    ? "25 000.30"
    Regards,
    Scott

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    23
    Vote Rating
    1
    Black Moon is on a distinguished road

      0  

    Default


    Thanks, Scott

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi