Grammalecte  Diff

Differences From Artifact [66a9ce5ee4]:

To Artifact [c06d21d1f4]:


517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
        return "les|la";
    }
    return "la";
}

function formatNumber (s) {
    let nLen = s.length;
    if (nLen <= 4 ) {
        return s;
    }
    let sRes = "";
    // nombre ordinaire
    let nEnd = nLen;
    while (nEnd > 0) {
        let nStart = Math.max(nEnd-3, 0);







|







517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
        return "les|la";
    }
    return "la";
}

function formatNumber (s) {
    let nLen = s.length;
    if (nLen < 4 ) {
        return s;
    }
    let sRes = "";
    // nombre ordinaire
    let nEnd = nLen;
    while (nEnd > 0) {
        let nStart = Math.max(nEnd-3, 0);