Search found 24 matches: scientific

Return to advanced search

Re: xBrowse: Avoid long numbers converted to scientific notation

Is this a browse from Array or DBF? From an array which gets its contents from a csv file For now, please do this. Have a function like this function myexcel( oBrw )      local oSheet      oSheet := oBrw:ToExcel()      oSheet:Columns( 1 ):NumberFormat := "#########"...
by hua
Sun May 03, 2020 12:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: Avoid long numbers converted to scientific notation
Replies: 2
Views: 401

Re: xBrowse: Avoid long numbers converted to scientific notation

Is this a browse from Array or DBF? For now, please do this. Have a function like this function myexcel( oBrw )      local oSheet      oSheet := oBrw:ToExcel()      oSheet:Columns( 1 ):NumberFormat := "#########"      return nil  Instead of calling oBrw:ToExcel...
by nageswaragunupudi
Sun May 03, 2020 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: Avoid long numbers converted to scientific notation
Replies: 2
Views: 401

xBrowse: Avoid long numbers converted to scientific notation

Hi, I have a col with long numbers, e.g. 119200075708 After exporting to excel from xbrowser, it ends up as 1.192E+11 How to prevent that from happening? https://i.postimg.cc/FKwqJRjw/xbrowse.png TIA p.s. I just noticed all the numbers in "Inv Num." column are converted to ...
by hua
Sat May 02, 2020 8:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: Avoid long numbers converted to scientific notation
Replies: 2
Views: 401

Re: Strange error making some calculations

Ok, you're right. But I'm using some constants with 2 fixed decimals, not floating numbers. Making the calc with a scientific pocket calculator, the result is correct. I've tried with FORTRAN too, with 2 decimals and floating point variables and the result is correct, without using ...
by Massimo Linossi
Thu Mar 22, 2018 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error making some calculations
Replies: 9
Views: 1458

New FTDN November/Noviembre (FWH 17.11)

... and the value overflows the picture, Transform() diplays stars '*' in the place of picture. In such cases, xbrowse used to display the number in scientific format so that the user does not miss viewing the value. From this version, such values are displayed in the usual format by expanding the ...
by Antonio Linares
Mon Nov 27, 2017 7:21 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 17.11)
Replies: 0
Views: 1307

Re: Problem with past into xbrowse numeric editable cell

... in the best possible manner so that the user need not stare at meaningless stars. The value what you see is 123 million and odd represented in scientific notation. Hope you now agree that: 1. This is a problem of pasting a huge value into a Get with picture clause meant to display a smaller ...
by nageswaragunupudi
Thu Feb 18, 2016 5:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with past into xbrowse numeric editable cell
Replies: 11
Views: 2294

Re: OpenAI

... arrangements on the board. The two networks were combined using a more conventional AI algorithm to look ahead in the game for possible moves. A scientific paper written by researchers from Google that describes the work appears in the journal Nature today.
by modicr
Thu Jan 28, 2016 5:48 pm
 
Forum: Off Topic / Otros temas
Topic: OpenAI
Replies: 2
Views: 717

Re: XBROWSE Change FOOTER PCITURE

... not accommodate the number the default behavior of (x)Harbour is to display stars, like "****". Instead, xbrowse displays the number in scientific format within the same width, so that the user gets some idea about the magnitude of the number instead of just seeing stars. When no picture ...
by nageswaragunupudi
Fri May 23, 2014 12:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Change FOOTER PCITURE
Replies: 13
Views: 3317

Re: moon.prg

Otto,

Sincerelly I have no idea about how that app calculates it (lots of mathematical calcs inside it).

Emiliano Llano Díaz is his author based on The Art of Scientific Computing. Cambridge University Press.
by Antonio Linares
Sat Jun 22, 2013 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: moon.prg
Replies: 1
Views: 578

Re: Porting from Fwh to Mac

... on Google.at for “Metro program” I get the playlist of the cinema “Metro” in Innsbruck. Localized search will become a problem for the European scientific research. I hope I could explain what I mean. Best regards, Otto
by Otto
Sun Jan 13, 2013 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Porting from Fwh to Mac
Replies: 58
Views: 11619

New FTDN June/Junio 2011 (FWH 11.06)

... or expressions intermixed with column numbers for Arrays also. (b) If a numeric value overflows the picture clause, the number is shown in scientific notation to fit the width. (c) Modified to use new brushes, reducing the code size by more than 3KB. * New: samples\Designer.prg follows ...
by Antonio Linares
Tue Jun 28, 2011 11:51 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2011 (FWH 11.06)
Replies: 0
Views: 1331

Re: Convert Real to Scientific Format

Thanks for this feed back .
by Jack
Thu Jun 23, 2011 3:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert Real to Scientific Format
Replies: 5
Views: 879

Re: Convert Real to Scientific Format

Mr Enrico

Excellent idea !!!
by nageswaragunupudi
Thu Jun 23, 2011 12:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert Real to Scientific Format
Replies: 5
Views: 879

Re: Convert Real to Scientific Format

Try also this sample using C language: #include "Fivewin.ch"FUNCTION MAIN()    ? N2E( 10000 )    RETURN NIL#pragma BEGINDUMP#include "hbapi.h"HB_FUNC( N2E ){    char Buf[ 100 ];    sprintf( Buf, &quo...
by Enrico Maria Giordano
Thu Jun 23, 2011 12:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert Real to Scientific Format
Replies: 5
Views: 879

Re: Convert Real to Scientific Format

One more way: function N2SCI( nNum, nDec )   local e  := 0   local nAt, cRet   DEFAULT nDec := 2   cRet     := LTrim( Str( nNum ) )   if nNum >= 10      nAt   := At( ".", cRe...
by nageswaragunupudi
Thu Jun 23, 2011 4:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert Real to Scientific Format
Replies: 5
Views: 879
Next

Return to advanced search