Search found 3623 matches

by Roberto Lopez
Tue Aug 14, 2018 6:40 am
Forum: General Discussions
Topic: About Decimals... [EDIT]
Replies: 6
Views: 155

Re: About Decimals...

Maybe this way FUNCTION ConDeci() SET FIXED ON SET DECI TO 15 N1 := 1/12 msgdebug( N1 ) CN1 := ALLTRIM( STR( N1, 15, 12 ) ) msgdebug( CN1 ) VN1 := VAL( CN1 ) msgdebug( VN1 ) SET DECI TO 2 N2 := VN1 * 12 msgdebug( N2 ) msgdebug( STR( N2 ,7,3) ) RETURN Nil Thanks Andrés, it works. Doug answered my qu...
by Roberto Lopez
Tue Aug 14, 2018 12:52 am
Forum: General Discussions
Topic: About Decimals... [EDIT]
Replies: 6
Views: 155

Re: About Decimals...

IMATECH wrote:
Tue Aug 14, 2018 12:03 am

Code: Select all

	N1 := Round( 1/12, 3 )
	CN1 := Str( N1 ,7,3)
	VN1 := Val( CN1 )
	N2 := Round( VN1 * 12, 3 )
	MSGINFO( STR( N2 ,7,3) )
*Not tested
The result is the same: 0.996

Thanks anyway!
by Roberto Lopez
Mon Aug 13, 2018 11:41 pm
Forum: General Discussions
Topic: About Decimals... [EDIT]
Replies: 6
Views: 155

About Decimals... [EDIT]

Hi All, Usually I work with two decimals in math operations with no problems. Now, I need to work with three decimals, converting number to strings and strings to numbers... The result of the following should be 1.000, but, it is shown as 0.996. I've played with SET DECIMALS and SET FIXED without re...
by Roberto Lopez
Fri Feb 16, 2018 9:43 pm
Forum: Issues and Discussions related to Harbour
Topic: Hdroidgui Dbf
Replies: 21
Views: 4514

Re: Hdroidgui Dbf

good evening! I would like to better understand this project, if it is compatible with Harbor and consequently with the HMG of Roberto Lopez and, if also for smartphone? because we need to modernize our language and create small applications for android and interact with our bigger application that...
by Roberto Lopez
Thu Jan 11, 2018 2:15 pm
Forum: General
Topic: Argentina: Programa Controlador Fiscal
Replies: 1
Views: 434

Argentina: Programa Controlador Fiscal

Hola, Alguien sabe como es el trámite en la web de AFIP, para poder aceptar la responsabilidad como programador de una aplicación que usa un controlador fiscal (en el caso que sea requerido)? El contador del comercio donde la aplicación se va a usar, ya hizo la presentación. Los contadores que consu...
by Roberto Lopez
Tue Dec 19, 2017 12:43 am
Forum: My HMG Projects
Topic: Harbour MiniGUI Extended Edition build 17.12 is published
Replies: 13
Views: 1751

Re: Harbour MiniGUI Extended Edition build 17.12 is published

gfilatov wrote:
Mon Dec 18, 2017 9:18 am
Hi Friends,

I am very glad to announce a new release of Harbour MiniGUI Extended Edition.
Thanks for your great work Grigory!
by Roberto Lopez
Sun Dec 03, 2017 12:57 am
Forum: General
Topic: Instalar Muestra en varias Sucursales // Install Sample in several Branches
Replies: 16
Views: 1376

Re: Instalar Muestra en varias Sucursales // Install Sample in several Branches

Hello everyone, Now that I made my modification to a sample that I made, it occurred to me to create a system that can be installed in several branches, in different parts of the city and that several users can use it simultaneously. What do I need other than HMG? <...> There is some articles about...
by Roberto Lopez
Wed Nov 29, 2017 12:46 pm
Forum: General
Topic: Facturación en Controlador Fiscal (Argentina)
Replies: 16
Views: 3210

Re: Facturación en Controlador Fiscal (Argentina)

Hola, alguién siguió trabajando con las impresoras fiscales 2da. generación Argentina ? tengo una aca en la oficina, usando la dll como venía con las impresoras de primera generación solo imprime X y Z, no encuentro ninguna documentación. Yo hice muchas pruebas con el emulador que incluye Hasar con...
by Roberto Lopez
Tue Oct 31, 2017 10:42 pm
Forum: My HMG Projects
Topic: Harbour MiniGUI Extended Edition build 17.10 is published
Replies: 10
Views: 1132

Re: Harbour MiniGUI Extended Edition build 17.10 is published

Grigory,

As always... thanks for your wonderful work, keeping the dream alive.