Search found 64 matches: multiply

Return to advanced search

Re: DateTime calculation

... the Harbour date variable. Convert the date value to the Unix timestamp, which is the number of seconds since the Unix epoch (January 1, 1970). Multiply the Unix timestamp by 1000 to convert it to milliseconds. Here's a simple example in Harbour script: // Assuming you have a Harbour date ...
by Antonio Linares
Sat Jan 27, 2024 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DateTime calculation
Replies: 6
Views: 684

Re: FWH64 + bcc64 + hbmk2 example

Dear Antonio ,

There was issue in Harbour 64 bit bcc as given old issue link. I am not sure currently it is working fine ?
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37051&start=0&hilit=multiply&sid=3214644f0d13f5bc95cbc2262ba18227


Thanks
Shridhar
by shrifw
Thu Jun 22, 2023 6:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH64 + bcc64 + hbmk2 example
Replies: 13
Views: 825

Promtp-Editor: Unleash ChatGPT's Power: The Ultimate Prompt

... by a row and column position indicated with the "@" symbol. The row and column positions are pairs of parameters separated by a comma. Multiply the row and column positions by 80. Additionally, there is a keyword "SIZE" used in the code to specify the size of the buttons. ...
by Otto
Fri Jun 09, 2023 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Promtp-Editor: Unleash ChatGPT's Power: The Ultimate Prompt
Replies: 4
Views: 446

Re: ¿Cómo insertar una imagen dentro de otra imagen?

Mr. Rao, In your sample, can we also have multiply images combined ? Lets say Olga and then more then 1 layover on top. For my webshop I see a interesting use of it... 1. Do we have to save the first image with layover and then do the function ...
by Marc Venken
Sun Jan 08, 2023 10:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo insertar una imagen dentro de otra imagen?
Replies: 8
Views: 647

Re: Campos empaquetados en archivo de texto

... new Exception("Bad sign nibble"); } long intermediate; long carry; long digit; for (int j = inp.Length * 2 - 1; j > 0; j--) { // multiply by 10 intermediate = lo * 10; lo = intermediate & 0xffffffff; carry = intermediate >> 32; intermediate = mid * 10 + carry; mid = ...
by El Loco
Wed Oct 13, 2021 3:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campos empaquetados en archivo de texto
Replies: 47
Views: 3006

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... INLINE ::Calc( { |x| x * ( 1 - x ) } ) METHOD DevideBy( u ) METHOD DevideFrom( u ) METHOD Transpose() METHOD SumOfRows() METHOD LinearMultiply( u ) INLINE ::Calc( { |x,y| x * y }, u ) MESSAGE MatrixMultiply METHOD mmult METHOD mmult( u ) METHOD Multiply( u ) // Multiplicacion lineal ...
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2551

New FTDN December/Diciembre 2020 (FWH 20.12)

... INLINE ::Calc( { |x| x * ( 1 - x ) } ) METHOD DevideBy( u ) METHOD DevideFrom( u ) METHOD Transpose() METHOD SumOfRows() METHOD LinearMultiply( u ) INLINE ::Calc( { |x,y| x * y }, u ) MESSAGE MatrixMultiply METHOD mmult METHOD mmult( u ) METHOD Multiply( u ) // Linear multiply if u ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2551

Multiple array is giving me problems (SOLVED)

... a correct Xbrowse with the data Writing it to dbf is a problem. Tried also with FW_arraytodbf What do I miss here ?? Is there somewhere a post on multiply arrays explanations ? I have find some... I get this error Application =========== Path and name: C:\Programmas\fotoselect\TEST.EXE (32 bits) ...
by Marc Venken
Mon Dec 14, 2020 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 788

Re: FWH: Support for Matrix calculations

... INLINE ::Calc( { |x| x * ( 1 - x ) } ) METHOD DevideBy( u ) METHOD DevideFrom( u ) METHOD Transpose() METHOD SumOfRows() METHOD LinearMultiply( u ) INLINE ::Calc( { |x,y| x * y }, u ) MESSAGE MatrixMultiply METHOD mmult METHOD mmult( u ) METHOD Multiply( u ) // Linear multiply if u ...
by nageswaragunupudi
Thu Dec 10, 2020 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Support for Matrix calculations
Replies: 3
Views: 717

Re: bad calculation prices for days

... week prz [3]:= 65          // 2 weeksprz [4]:= 100        // 4 weeks  Then obtain the number of days more than for example 1 week, multiply by single day charge, then add both ammounts.... days = 9extra_days = days - 7nPrice := prz[2] + (extra_days * prz[1])  ...
by Bayron
Sun Jul 05, 2020 12:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad calculation prices for days
Replies: 13
Views: 1906

bad calculation prices for days

... week 40 euros 15 days 120 euros month 180 euros so I do prz [1]:= day / 1 prz [2]:= week / 7 prz [3]:= 15days / 15 prz [4]:= month / 30 and then I multiply by the days do case case days <2 nPrice: = ngg * prz [1] case days <7 nPrice: = ngg * prz [2] case days <15 nPrice: = ngg * prz [3] ...
by Silvio.Falconi
Sat Jul 04, 2020 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad calculation prices for days
Replies: 13
Views: 1906

Re: Belgium VAT-Controle function

... 574774488. Take the first 7 digits. You keep 5747744. Divide this result by 97. The result is 59255.0927835. You keep the decimals : 0.0927835. Multiply this by 97 and round it with 0 decimals. The result is 9. Substract 9 from 97 and this results into 88. IF 88 is equal to the last 2 figures ...
by nageswaragunupudi
Sat Mar 28, 2020 3:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Belgium VAT-Controle function
Replies: 5
Views: 797

Re: Belgium VAT-Controle function

... 574774488. Take the first 7 digits. You keep 5747744. Divide this result by 97. The result is 59255.0927835. You keep the decimals : 0.0927835. Multiply this by 97 and round it with 0 decimals. The result is 9. Substract 9 from 97 and this results into 88. IF 88 is equal to the last 2 figures ...
by driessen
Fri Mar 27, 2020 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Belgium VAT-Controle function
Replies: 5
Views: 797

LINK ERROR: 19.09

... in g_server.obj hbct.lib(trig.obj) : error LNK2005: _HB_FUN_TAN already defined in g_server.obj aMLS11.exe : fatal error LNK1169: one or more multiply defined symbols found This is new to this version and has not surfaced for the years I have been assembling this program.
by TimStone
Thu Oct 17, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LINK ERROR: 19.09
Replies: 11
Views: 1700

Re: Garbage Value on Multiply

Here is a workaround, not a fix.

Please convert
Code: Select all  Expand view

nAmt := ( nRate *  nQty )
 


as
Code: Select all  Expand view

nAmt := ROUND( nRate *  nQty, 2 )
 

in all the places in the program.

With this change, you can see the values of nAmt correctly
by nageswaragunupudi
Mon May 27, 2019 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Garbage Value on Multiply
Replies: 6
Views: 1100
Next

Return to advanced search