Máskara de formatação para campos float do mysql
Gostaria de saber qual máskara de formatação tenho que utilizar para que ao invés de aparecer por exemplo: R$ 10.51 apareca R$ 10,51 sendo que necessito que o campo seja do tipo float(8,2) ?
Obrigado. :?:
Obrigado. :?:
Henry Lima
Curtidas 0
Respostas
Sandra
04/07/2005
Henry,
Experimente utilizar:
[quote:18b09eeb81=´Currency and date/time formatting variables, no Help - Delphi´]DecimalSeparator => DecimalSeparator is the character used to separate the integer part from the fractional part of a number. This variable must have a value other than #0.
[/quote:18b09eeb81]
Experimente utilizar:
DecimalSeparator := ´,´; // vírgula
[quote:18b09eeb81=´Currency and date/time formatting variables, no Help - Delphi´]DecimalSeparator => DecimalSeparator is the character used to separate the integer part from the fractional part of a number. This variable must have a value other than #0.
[/quote:18b09eeb81]
GOSTEI 0