[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

Numb2USA

Insert thousand separators.

Declaration

Source position: strutils.pp line 163

function Numb2USA(

  const S: String

):String;

Arguments

S

  

String to insert thousand separators in.

Function result

String with thousand separators inserted.

Description

Numb2USAinserts thousand separators in the string Sat the places where they are supposed to be, i.e. every 3 digits. The string Sshould contain a valid integer number, i.e. no digital number. No checking on this is done.

Errors

None.