MySQL + FiveWin + Harbour = How can I have a numeric field with many decimal places??? Example: picture "@E 9.999999999999999999999"
I noticed there is a limitation in FiveWin or Harbour.
MySQL + FiveWin + Harbour = How can I have a numeric field with many decimal places??? Example: picture "@E 9.999999999999999999999"
I noticed there is a limitation in FiveWin or Harbour.
Algo asi?
https://learn.microsoft.com/en-us/sql/t-sql/data-types/decimal-and-numeric-transact-sql?view=sql-server-ver17
Regards, saludos.
ó algo asi?
// C:\FWH\SAMPLES\MGA01.PRG
#include "FiveWin.ch"
FUNCTION Main()
LOCAL oDlg, oGet, nNumber
SET FIXED ON
SET DECIMALS TO 23
nNumber := "1234567890121234567890"
DEFINE DIALOG oDlg TITLE "High Precision Numeric"
@ 1, 1 GET oGet VAR nNumber PICTURE "@E 9.999999999999999999999" SIZE 120, 12 OF oDlg
@ 3, 1 BUTTON "Show Value" ACTION MsgInfo( VAL( nNumber ) )
@ 3, 15 BUTTON "Exit" ACTION( oDlg:End() )
ACTIVATE DIALOG oDlg CENTERED
RETURN NIL
// FIN / END - kapiabafwh@gmail.comRegards, saludos.
obrigado