Logo Search packages:      
Sourcecode: facturalux version File versions  Download package

QString FLUtil::centenamillar ( long  n  )  [static]

Enunciado de las centenas de millar de un número.

Parameters:
n Número a tratar. Debe ser positivo.

Definition at line 120 of file FLUtil.cpp.

References centenas(), and decenasmillar().

Referenced by enLetra().

{
  QString buffer;

  if (n < 10000)
      {
        buffer = decenasmillar (n);
        return buffer;
      }
  buffer = centenas (n / 1000);
  buffer = buffer + " mil ";
  buffer = buffer + centenas (n % 1000);

  return buffer;
}


Generated by  Doxygen 1.6.0   Back to index