[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 594: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 650: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
Fórum Xmaker • Como mostrar valor por Extenso
Página 1 de 1

Como mostrar valor por Extenso

Enviado: Fevereiro 28th, 2017, 9:15 am
por mariobs
Olá pessoal, bom dia!

Estou com o seguinte problema, estou precisando mostrar o valor por extenso em um recibo, inseri o código PorExtenso(TabGlobal.DCad_Diaria.Quant_Diaria.Conteudo ) na Pré-validação do campo que vai mostrar o valor por extenso, só que o sistema esta me retornando um erro "imcompatible type", o mesmo esta com tipo de objeto Alfanumérico.

Re: Como mostrar valor por Extenso

Enviado: Abril 7th, 2018, 10:25 pm
por adassoft
Não tenho certeza, mas o campo deve ser do tipo numérico fracionário ou inteiro.
Tente isso: PorExtenso(StrToInt(TabGlobal.DCad_Diaria.Quant_Diaria.Conteudo))
ou PorExtenso(StrToFloat(TabGlobal.DCad_Diaria.Quant_Diaria.Conteudo))