Search found 456 matches: decimal

Return to advanced search

Numeric values and pasting data in a field

Hello, Here in Belgium, we use the comma as a decimal point. So, a value 12345678.90 is written in Belgium like 12.345.678,90 while in most countries it is written like 12 345 678.90. Concerning this problem, I have 2 quesions : 1. How can I use ...
by driessen
Tue Nov 07, 2017 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric values and pasting data in a field
Replies: 15
Views: 2984

Re: Formato de numeros con tOleAuto, no lo asepta

Checa tu configuracion regional y de idioma en windows, probablemente tengas como separador decimal ',' y como separador de miles '.'
by admsoporte
Thu Oct 19, 2017 9:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Formato de numeros con tOleAuto, no lo asepta
Replies: 3
Views: 576

New FTDN July 2017 (FWH 17.07)

... inline EditGet with TAB key is not saving data uniformly. Was saving character values, not saving dates and integers, saving only integer part of decimal numbers ignoring decimals. Fixed now. * XBREPORT: Fixed resource leakage * TDATABASE: New Methods: - Record( [cFieldList], [lNew] ) --> RecordObject ...
by Antonio Linares
Sun Aug 13, 2017 8:19 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July 2017 (FWH 17.07)
Replies: 5
Views: 3377

Re: Tipos de Campos

... (if width is 4 ) or Date & Time (if width is 8 ) (?) V Variant 3, 4, 6 or more Variable type Field Y Currency 8 64 bit integer with implied 4 decimal B Double 8 Floating point / 64 bit binary En el caso de ModTime, aunque no lo uso, entiendo que la diferencia es que se va actualizando automaticamente ...
by Biel EA6DD
Tue Aug 01, 2017 7:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tipos de Campos
Replies: 4
Views: 1001

Re: ADO and decimal numbers

I Mr Rao in xBrowse i changed oCol:nDataDec in SetColFromADO METHOD if nDec != nil*      oCol:nDataDec  := Min( nDec, 2 )       oCol:nDataDec  :=  nDec endif and now works This seems to be code from an older version. Current version is just what you corrected. So my first modification was w...
by nageswaragunupudi
Sun Jul 30, 2017 4:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

Re: ADO and decimal numbers

I Mr Rao
in xBrowse i changed oCol:nDataDec in SetColFromADO METHOD
Code: Select all  Expand view

if nDec != nil
*      oCol:nDataDec  := Min( nDec, 2 )
       oCol:nDataDec  :=  nDec
endif


and now works
by damianodec
Mon Jul 24, 2017 7:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

Rutina para leer Gps

... latitud y longitud en formato //dddmm.mmmm,ddddmm.mmmm DATA cNS, cEW // indicadores de N/S E/O DATA nLat, nLong // latitud y longitud en formato decimal dd.mmmmmmmm DATA cFix // fix del gps 0= invalido 1= valido DATA cSats // satelites usados DATA cAlt // altitud DATA cSpeed // velocidad DATA ...
by Busmatic_wpb
Sat Jul 22, 2017 1:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rutina para leer Gps
Replies: 1
Views: 1025

Test GPS Error en encontrado

... latitud y longitud en formato //dddmm.mmmm,ddddmm.mmmm DATA cNS, cEW // indicadores de N/S E/O DATA nLat, nLong // latitud y longitud en formato decimal dd.mmmmmmmm DATA cFix // fix del gps 0= invalido 1= valido DATA cSats // satelites usados DATA cAlt // altitud DATA cSpeed // velocidad DATA ...
by Busmatic_wpb
Fri Jul 21, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test GPS Error en encontrado
Replies: 0
Views: 666

Re: ADO and decimal numbers

hi Mr Rao thank you I try this in xbrowse.prg   CASE ASCAN( { 4, 5, 6 }, nType ) > 0  // Single, Double, Currency      cType         := 'N'      nLen          := oField:Precision      nDec          := Set( _SET_DECIMALS )*     nDec          := 2 and in my.prg   SET DATE ...
by damianodec
Fri Jul 21, 2017 6:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

Re: ADO and decimal numbers

Please make this modification in your xbrowse.prg: Please locate the following lines in METHOD SetColFromADO(...)   CASE ASCAN( { 4, 5, 6 }, nType ) > 0  // Single, Double, Currency      cType         := 'N'      nLen &...
by nageswaragunupudi
Thu Jul 20, 2017 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

Re: ADO and decimal numbers

Hi
ciao Maurizio

SET DECIMAL TO is inside at the top of .prg but not work with ADO
by damianodec
Thu Jul 20, 2017 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

Re: ADO and decimal numbers

Ciao ,
try

SET DECIMALS TO 4

Maurizio
www.nipeservice.com
by Maurizio
Thu Jul 20, 2017 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

ADO and decimal numbers

... oBrw SIZE -10,-50 PIXEL CELL AUTOSORT;RECORDSET oRs AUTOCOLS;OF oDlg2      In m_get I put my Select... (Select * FROM...) XBROWSE shows two decimal numbers but I want four decimal numbers I can not to use PICTURE because SELECT change according to what I write in m_get thank you
by damianodec
Thu Jul 20, 2017 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and decimal numbers
Replies: 6
Views: 1095

Re: xBrowse TAB vs ENTER key EDIT_GET ( rao )

... and changed the Salary to 69.95 and Tabbed thru the cell and your msginfo resolved 69.00 instead of 69.95... and the previous existing value decimal value was .00 At least we are able to re-create the tabbed behavior. Rick Lipkin https://image.ibb.co/m4gpSk/xbrowse.jpg
by Rick Lipkin
Fri Jun 23, 2017 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse TAB vs ENTER key EDIT_GET ( rao )
Replies: 16
Views: 2841

Re: xBrowse TAB vs ENTER key EDIT_GET ( rao )

Rao

You were on the right track ... I added 0.00 ( decimal ) to Price in _AddNewRow() .... and now it WORKS !!

Thanks for pointing me in the right direction ..

Rick Lipkin
by Rick Lipkin
Fri Jun 23, 2017 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse TAB vs ENTER key EDIT_GET ( rao )
Replies: 16
Views: 2841
PreviousNext

Return to advanced search