Search found 474 matches: round

Return to advanced search

Re: Redondear un Numero

Gracias armando, quedo muy bien..
FUNCTION Redondear(nValor)
IF nValor % 10 <= 5
nValor := nValor - (nValor % 10)
ELSE
nValor := nValor + (10 - nValor % 10)
ENDIF
RETURN(Round(nValor,0))

saludos
by jbrita
Thu Feb 08, 2024 2:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Redondear un Numero
Replies: 7
Views: 387

Re: Fwh 23.10 TGet another problem (UNSOLVED)

I have added theme your sample and says "UTF8 GET".


Yes.

but Turkish characters gone in TGet.


It is the other way round here

I will get back.
by nageswaragunupudi
Sun Feb 04, 2024 7:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fwh 23.10 TGet another problem (UNSOLVED)
Replies: 132
Views: 54287

Re: Problem with tget numeric

... 7 this the last digit must change to 123.47 and if the record is being edited and the values are for example 0.75 or 3.60 the procedure must not round to 1 and 4
by Silvio.Falconi
Wed Jan 17, 2024 5:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tget numeric
Replies: 16
Views: 1428

Re: phpBB to LLM

Hello Antonio, From the looks of it, the training doesn't just happen in one round: First round generated a 715MB file "cached_lm_GPT2Tokenizer_128_fivetech_forums_20231222.sql" in 16min. The second round is actually the training and I'm now at 0% after ...
by alerchster
Tue Dec 26, 2023 6:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4683

Ayuda, busqueda incremental

... " + alltrim( oRS1:Fields( "descri1" ):Value ) ), "" ), ; substr( oRS1:Fields( "Nombre" ):Value, 1, 20 ), ; str( round( oRS1:Fields( "costo" ):Value * iif ( oRS1:Fields( "porc_iva" ):Value = 0, ( 1 + ( xporc_iva / 100 ) ), ( oRS1:Fields( "porc_iva" ...
by jpcavagnaro
Wed Nov 22, 2023 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda, busqueda incremental
Replies: 1
Views: 312

Number Total Pages

... {{|| cf(date())+"- Pagina : "+Str(oRep:nPage,3)+"/"+Str(nTotalpages,3)} }, oRep, 2 ) I tried also with nTotalpages:=:= Round(oRep:nCount/oRep:nPageSize,0) thanks
by Silvio.Falconi
Fri Nov 17, 2023 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number Total Pages
Replies: 2
Views: 210

error TXBROWSE:CARGOS

... "Presupu"; DIALOGS "solapa1", "solapa2w", "Solapa5w", "Solapa3w", "Solapa4w" // round 10 transparent // BOTTOM * 4 ------------------------------------------------------------------------------------------------------------------------ ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 280

Re: Desactivar Botones en xBrowse

A few days ago I asked here how I could transfer the results of a MySql query to Excel.


If only purpose is to export to Excel, we can do it directly without the round about method of using XBrowser.
Using FWH library
Code: Select all  Expand view
oRs := oCn:Query( cSql )
oRs:ToExcel()
oRs:Close()
by nageswaragunupudi
Fri Aug 18, 2023 12:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Desactivar Botones en xBrowse
Replies: 16
Views: 763

Ayuda por favor con folder y listbox

... "open1", "Presupu"; DIALOGS "solapa1", "solapa2", "Solapa3", "Solapa4" // round 10 transparent // BOTTOM REDEFINE GET onrocli var xnrocli ID 101 OF ofld1:aDialogs[ 1 ] picture "999999" valid ( val_cli( xnrocli ), ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 238

Re: Problem Xbrowser Border

I'm not sure that all these options can be added to the xBrowse class


a border with any pensize
optional round corners
glowing effect
transparent level
any border distance


Image

bet regards
Uwe :D
by ukoenig
Tue Mar 07, 2023 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem Xbrowser Border
Replies: 11
Views: 1008

Print this character &

... & , I tryed with other font but, don't. There are more... When I clicked on button "acrobat", the PDF file I created show me the roundbox whith the 4 corners round and rect. (I usually use tUtilprn, thanks to Rafa TheFull) This was working FWH 22.12 Saludos Ruben Fernandez
by D.Fernandez
Thu Feb 02, 2023 4:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print this character &
Replies: 2
Views: 248

Re: Manifest

... have always understood that fivewin creates windows or makes them create directly to the operating system, if it is really true excuse me for the round of words then because in win 10 or win 11 the style of the windows and Are the dialogs always in the style of win 7 or even win XP? That is, I ...
by Silvio.Falconi
Wed Oct 26, 2022 8:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Manifest
Replies: 22
Views: 1785

Re: Parpadeo de Menu COLOR , Ayuda

Cristobal en ejemplo que me haces referencia no tiene color MENU oMnu 2013 ; NOBORDER ; ROUND 8 FONT oFont ; UPPERMNU ADJUST //NOCENTER //Add or Remove clausule and look height of menu bar and items MENUITEM "Test" FILE "..\icons\fivewin.ico" es ...
by devwin2010
Wed Oct 26, 2022 7:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Parpadeo de Menu COLOR , Ayuda
Replies: 29
Views: 1876

Re: Redondear centena

Hola, mas simples...

nAproximar := 50
nRedondear := 47085
? round(nRedondear / nAproximar, 0) * nAproximar

Saludos, Euclides
by Euclides
Thu May 19, 2022 3:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Redondear centena
Replies: 8
Views: 660

Redondear centena

... de poder hacer el redondeo a la centena, con el fin de evitar problemas con el cambio cuando pagan en efectivo. E intentando con la función round(), pero esta parece que aplica solo para los decimales. Ejemplo: Total a pagar $1.257 Debe quedar $1.200 Total a pagar $5.856 Debe quedar $5.800 ...
by leandro
Sat May 07, 2022 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Redondear centena
Replies: 8
Views: 660
Next

Return to advanced search