Search found 24 matches: scientific

Return to advanced search

Re: Convert Real to Scientific Format

Method-1 function N2E( nNum, nDec )   local e := 0, cRet   DEFAULT nDec := 2   if nNum >= 10      do while nNum >= 10         nNum  /= 10         e++      enddo   elseif nNum < 1      do while nNum < 1         nNum  *= 10         e--      enddo   endif   cRet  := Str( nNum, n...
by nageswaragunupudi
Thu Jun 23, 2011 2:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert Real to Scientific Format
Replies: 5
Views: 886

Convert Real to Scientific Format

Hello,

I have to convert a numeric to a scientific notation , How to ??

Any function ?

10000 ==> 1,E+04

Thanks
by Jack
Wed Jun 22, 2011 7:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert Real to Scientific Format
Replies: 5
Views: 886

Re: How to set Color dialogs in TPages when WindowsXP.Manifest ?

... 0.50, 16054371, 8388608 } } ) } DEFINE DIALOG oDlg2 STYLE WS_CHILD OF oPages @ 0.5, 1 BUTTON "Sin" OF oDlg2 SIZE 10, 10 @ 3, 2 SAY "Scientific" OF oDlg2 oPages:AddPage( oDlg2 ) http://www.pflegeplus.com/pictures/page2.jpg oDlg2:bPainted := { | hDC | GradientFill( ...
by ukoenig
Sun Oct 18, 2009 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set Color dialogs in TPages when WindowsXP.Manifest ?
Replies: 9
Views: 2453

Re: ToCalc() Method to transfer xBrowse Data to OpenOffice Calc

... Format index Some index values: 0 => Standard 11 => Per cent 37 => Date 41 => Hour 60 => Scientific notation 70 => Fraction 99 => Boolean 100 => Text 105 => Personal 106 => Currency But there's a lot more to find out :)) com.sun.star.util.NumberFormat.DEFINED ...
by anserkk
Tue Jan 27, 2009 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ToCalc() Method to transfer xBrowse Data to OpenOffice Calc
Replies: 62
Views: 12979

Silvio,

I suggest you to create the two dialogs ("normal" and "scientific") using resources. That way it will be easier for you.
by Antonio Linares
Mon Mar 24, 2008 11:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How refresh a dialog ?
Replies: 26
Views: 3272

Silvio,

Just modify the code this way and it paints fine in XP too:

MENUITEM "Normal" ACTION ( oPages:SetOption( 1 ), oDlg:SetSize( 255, 245, .T. ) )
MENUITEM "Scientific" ACTION ( oPages:SetOption( 2 ), oDlg:SetSize( 485, 245, .T. ) )
by Antonio Linares
Mon Mar 24, 2008 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How refresh a dialog ?
Replies: 26
Views: 3272

... oMenu MENU oMenu 2007 MENUITEM "Type" MENU MENUITEM "Normal" ACTION (oPages:SetOption( 1 ) , oDlg:setsize( 255, 245),oDlg:refresh()) MENUITEM "Scientific" ACTION (oPages:SetOption( 2 ), oDlg:setsize( 485, 245),oDlg:refresh()) ENDMENU ENDMENU return oMenu But now when select a type not erased ...
by Silvio
Sun Mar 23, 2008 1:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How refresh a dialog ?
Replies: 26
Views: 3272

you can also use pages, one for the standard look and one for scientific look. Then you can easily change the look.
by StefanHaupt
Thu Mar 20, 2008 1:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How refresh a dialog ?
Replies: 26
Views: 3272

... 12.345, or $50.00). Use single quotes with strings and pound signs (#) with dates. For numbers, you can use decimal points, dollar signs, and scientific notation. If Operator is LIKE, Value can use wildcards. Only the asterisk (*) and percent sign (%) wild cards are allowed, and they must ...
by jlcapel
Mon Apr 30, 2007 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New AdoRDD (free)
Replies: 203
Views: 103325
Previous

Return to advanced search