GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 25
→
Tipo de campo Decimal ou Real?
Tipo de campo Decimal ou Real?
Iniciado por ANDRE MARTINI / IS2, abr., 29 2016 1:35 PM - 2 respostas
Conecte-se…
ANDRE MARTINI / IS2
#1
Membro registado
208 mensagems
Popularité : +25 (25 votes)
Publicado em abril, 29 2016 - 1:35 PM
Olá pessoal,
tenho alguns campos no meu projeto referentes a valores, por exemplo, [Valor De Venda], [Valor de Custo], [Valor do Documento], [Valor Saldo], etc.
Minha dúvida é a seguinte, que tipo de dados devo usar para este campo [Decimal (WLanguage numeric)] OU [Real]? Qual a diferente de cada um?
Inicialmente usei o [Decimal (WLanguage numeric)] e defini [Integer part] e o [Decimal part].
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Denunciar
0
0
José Jorge Matos
#2
Publicado em abril, 30 2016 - 3:50 AM
Porque não utiliza Currency?
http://doc.windev.com/en-US/…
JJM
Denunciar
0
0
ANDRE MARTINI / IS2
#3
Membro registado
208 mensagems
Popularité : +25 (25 votes)
Publicado em maio, 02 2016 - 12:55 PM
E qual a diferente em termos de projeto do NUMERIC para o CURRENCY?
Pelo que vi no CURRENCY não tem como definir tamanho nem a quantidade de casas decimais, já no NUMERIC isso é possível.
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Denunciar
0
0
→ Voltar para WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto