Search found 60 matches: floating

Return to advanced search

C code in FiveWin

... 1 ); int val2 = _parni( 2 ); float val = val2 / val1; ... } "float" is not a valid typedef in C You better use signed long or unsigned long The floating point routines are automatically searched from the library model you are using These are integer numeric types not floating-point. > The ...
by Antonio Linares
Wed Aug 27, 2008 7:38 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 94035

Buttons and ButtonBmps

... or TCBrowse is handled), Then you could add the BS_MULTILINE style there, ie, from inside Workshop a) click on the "key" icon on the Tools floating window (third column, at the bottom) b) In the Class field enter (with quotes): "TButton" c) In the Style field enter (without quotes): 0 | ...
by Antonio Linares
Wed Aug 27, 2008 7:37 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 94035

Rick....one other thing....I have a question floating in a separate post (Multiple Browses) that James is helping me with regarding blanking out the highlight on the selected record. Since I am using color backgrounds on certain rows, when I have ...
by Greg Gammon
Wed Sep 05, 2007 1:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox Colors
Replies: 12
Views: 2659

Hua,

the TIni-class does not support floating-point values, but you can save and read these value as a string and then convert it back to numeric with Val().
by StefanHaupt
Fri Aug 03, 2007 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ini return only integer when type is numeric
Replies: 2
Views: 593

... than or equal), "<=" (less than or equal), "<>" (not equal), or "like" (pattern matching). The value in Criteria may be a string, floating-point number, or date. String values are delimited with single quotes or "#" (number sign) marks (for example, "state = 'WA'" or "state = #WA#"). ...
by jlcapel
Wed Apr 18, 2007 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Beginners Guide to ADO
Replies: 22
Views: 14238

Antonio he intentado compilar y me da 4 errores: Error E2060 prueba.prg 10: Illegal use of floating point in function HB_FUN_F2BIN. Error E2060 prueba.prg 11: Illegal use of floating point in function HB_FUN_F2BIN. Error E2060 prueba.prg 12: Illegal use of floating point ...
by damosi
Tue Jan 16, 2007 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Doble a Binario
Replies: 8
Views: 2941

... for such problem, no in xHabour, nor in Clipper, nor in Visual Bullshit, sorry Basic, nor in Delphi, or in Java, all the languages handling floating point routines have the very same behave. You guys are all great! I couldn't be getting any more help than this provided to me with this posting. ...
by E. Bartzokas
Thu Sep 28, 2006 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric comparisons
Replies: 9
Views: 2791

... for such problem, no in xHabour, nor in Clipper, nor in Visual Bullshit, sorry Basic, nor in Delphi, or in Java, all the languages handling floating point routines have the very same behave.
by R.F.
Thu Sep 28, 2006 2:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric comparisons
Replies: 9
Views: 2791

Evans, As Enrico says, it is a constant problem with floating point numbers. However, the below code seems to work. The trick is to convert the sum to string then back to numeric. Give it a try on more numbers. Tested with FWH Aug 2006 build and xHarbour. ...
by E. Bartzokas
Wed Sep 27, 2006 9:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric comparisons
Replies: 9
Views: 2791

Evans, As Enrico says, it is a constant problem with floating point numbers. However, the below code seems to work. The trick is to convert the sum to string then back to numeric. Give it a try on more numbers. Tested with FWH Aug 2006 build and xHarbour. ...
by James Bott
Wed Sep 27, 2006 9:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric comparisons
Replies: 9
Views: 2791

Re: Numeric comparisons

... or something else is happening... I have a problem with the 32-bit that does not exist in the 16-bit, or DOS. It is a very well known problem with floating point numbers and it doesn't depend on platform or language used. The simple solution is: round before compare. EMG
by Enrico Maria Giordano
Wed Sep 27, 2006 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric comparisons
Replies: 9
Views: 2791

Antonio, I have difficulties to understand this floating points number showed like hexadecimal. I have a sequence like this: 5F FF 06 11 07 23 07 35 07 48 07 5B 07 6E 07 81 07 93 07 A5 07 B7 07 C7 07 D7 07 E7 07 FA 07 0D 08 1D 08 2D 08 3E 08 4F 08 ...
by Maurilio Viana
Mon Jun 19, 2006 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: Debugger to no souce code exe file
Replies: 2
Views: 828

Create it as a dialog. You can change nStyle to remove the caption and system buttons or not (if you wish to make it a floating bar).
by James Bott
Mon May 15, 2006 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation Button bar
Replies: 3
Views: 1121

nDbl2Flt()

... quiero pensar que pasará cuando intente pasarla a 32 bits :( ). Ahora me ocurre que al mostrar unos controles char2fx me da el siguiente error: Floating Point: Stack Underflow El problema es en una línea donde tengo que pasar un valor float al control VBX: oChart1:Adm[2] := ndbl2flt(nmaximo1). ...
by Sebastián Almirón
Fri Feb 17, 2006 5:39 pm
 
Forum: FiveWin para CA-Clipper
Topic: nDbl2Flt()
Replies: 11
Views: 3908

Rafael Rivera has published now a little utility to hide the sidebar, so you can get the gadgets floating around your desktop without showing the sidebar. Really cool :) Rafael Rivera ha publicado ahora una pequeña utilidad para ocultar la barra lateral, por lo que podeis ...
by Antonio Linares
Tue Oct 25, 2005 7:42 am
 
Forum: Off Topic / Otros temas
Topic: Installing the Windows Vista sidebar on XP
Replies: 1
Views: 996
Previous

Return to advanced search