Search found 38 matches: nnumber

Searched query: nnumber

by Silvio.Falconi
Tue May 10, 2022 10:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: calculate the frequency of a number
Replies: 6
Views: 663

calculate the frequency of a number

... is repeated in the archive and in the same position, compared to the number of records where I have positioned myself

EstrattoFrequenza(nNumber,nWheel,npos,nrecord)

with this function I pass the following parameters

nNumber the number to search
nWheel a number (from 1 to 11 ...
by James Bott
Sat Oct 09, 2021 7:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Decimal detection
Replies: 10
Views: 1839

Re: Decimal detection

... value rounded to a specified number of digits
------------------------------------------------------------------------------
Syntax

ROUND(<nNumber>, <nDecimals>) --> nRounded

Arguments

<nNumber> is the numeric value to be rounded.

<nDecimals> defines the number of decimal places to ...
by carlos vargas
Wed Sep 02, 2020 5:13 pm
Forum: FiveWin para Harbour/xHarbour
Topic: En RED Local generar un indice CDX en PC Local
Replies: 1
Views: 364

Re: En RED Local generar un indice CDX en PC Local

... NIL.



INDEX ON <indexExpr> ;
[TAG <cIndexName>] ;
[TO <cIndexFile>] ;
[FOR <lForCondition>] ;
[WHILE <lWhileCondition>] ;
[ALL] ;
[NEXT <nNumber>] ;
[RECORD <nRecNo>] ;
[REST] ;
[EVAL <bBlock>] ;
[EVERY <nInterval>] ;
[UNIQUE] ;
[ASCENDING|DESCENDING] ;
[USECURRENT] ;
[ADDITIVE ...
by MaxP
Sat May 02, 2020 5:31 pm
Forum: All products support
Topic: Arrotondare un prezzo
Replies: 3
Views: 2913

Re: Arrotondare un prezzo

Ciao Silvio,

devi usare la funzione ROUND(<nNumber>, <nDecimals>)

nDecimals è il numero di decimali a cui vuoi arrotondare

Ad esempio se vuoi arrotondare 8.57 a 9.00

Code: Select all | Expand

ROUND( 8.57, 0 )


Buona serata
by nageswaragunupudi
Wed Oct 30, 2019 5:19 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Documentación sintaxis
Replies: 6
Views: 1648

Re: Documentación sintaxis

... character strings. Note that the code block calls itself
// recursively within the FOR EACH loop.


PROCEDURE Main
LOCAL bBlock, lLogic:= .T., nNumber:= 1.23456, aArray := Directory()

bBlock := ConversionBlock()

? Eval( bBlock, aArray )

? Eval( bBlock, lLogic )

? Eval( bBlock, nNumber ...
by carlos vargas
Fri Aug 23, 2019 6:01 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevas funciones harbour para tablas dbf
Replies: 10
Views: 1913

Re: Nuevas funciones harbour para tablas dbf

... luego.
INDEX ON <indexExpr> ;
[TAG <cIndexName>] ;
[TO <cIndexFile>] ;
[FOR <lForCondition>] ;
[WHILE <lWhileCondition>] ;
[ALL] ;
[NEXT <nNumber>] ;
[RECORD <nRecNo>] ;
[REST] ;
[EVAL <bBlock>] ;
[EVERY <nInterval>] ;
[UNIQUE] ;
[ASCENDING|DESCENDING] ;
[USECURRENT] ;
[ADDITIVE ...
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 7028

Re: funciones de FWH y Harbour en un archivo .txt

... nBottom>],[<nRight>],<cScreen>)->Nil
RestToken(<cSavedTokenEnv>)->cNullString
Right(<cString>,<nCount>)->cSubString
RLock()->lSuccess
Round(<nNumber>,<nDecimals>)->nRounded
Row()->nRow
RtoD(<nRadians>)->nDegrees
RTrim(<cString>,[<lAllWhiteSpace>])->cTrimString
SaveCursor()->nSaved
SaveScreen ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 7028

Re: funciones de FWH y Harbour en un archivo .txt

... nBottom>],[<nRight>],<cScreen>)->Nil
RestToken(<cSavedTokenEnv>)->cNullString
Right(<cString>,<nCount>)->cSubString
RLock()->lSuccess
Round(<nNumber>,<nDecimals>)->nRounded
Row()->nRow
RtoD(<nRadians>)->nDegrees
RTrim(<cString>,[<lAllWhiteSpace>])->cTrimString
SaveCursor()->nSaved
SaveScreen ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 7028

Re: funciones de FWH y Harbour en un archivo .txt

... nPos
AtToken(<cString>,[<cDelimiter>],[<nCount>])->nPos
BeforAtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->cResult
Bin2I(<cSignedInt>)->nNumber
Bin2L(<cSignedInt>)->nNumber
Bin2W(<cUnsignedInt>)->nNumber
BitToC(<nInteger>,<cBitPattern>,[<lSpaces>])->cResult
Blank(<xValue>,[<lSpaces ...
by Antonio Linares
Fri Jan 15, 2016 9:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: refresh a btnbmp on line
Replies: 2
Views: 462

Re: refresh a btnbmp on line

Silvio,

ACTION (nNumber := test(),oBtnAllegati:refresh() )
by Silvio.Falconi
Fri Jan 15, 2016 12:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: refresh a btnbmp on line
Replies: 2
Views: 462

refresh a btnbmp on line

... a prompt with a number
then the user press the button and the procedure must assign the new prompt with the new number
why not refresh() ?



nNumber:= 8

@ 233, 118 BTNBMP oBtnAllegati OF oDlgTest ;
SIZE 55, 14 PIXEL 2007 ;
BORDER LEFT ROUND ;
PROMPT str(nNumberi)+" files" RESOURCE "DLG_OK ...
by Enrrique Vertiz
Mon May 25, 2015 3:49 am
Forum: FiveWin para Harbour/xHarbour
Topic: Error al grabar formulas con FileXLS con + de 16000 lineas
Replies: 2
Views: 674

Error al grabar formulas con FileXLS con + de 16000 lineas

... idea donde, alguna idea ??
GRACIAS

//----------------------------------------------------------------------------//
METHOD Formula( nRow, nCol, nNumber, lRecalc, cFormula, ;
lHidden, lLocked, nFont, nFormat, lShaded, ;
nBorder, nAlignament ) CLASS TFileXLS

local cExpression := GetExpression ...
by Colin Haig
Tue Jan 27, 2015 11:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 146118

Re: Introducing FiveTech's fivedit

Hi Antonio

Yes that does what you say - but what I meant was when using the following code

if nNumber == 10
cursor aligns under the letter n
when you complete with endif
endif the endif is pulled back in the line with the if

The editor automatically indents and outdents - the code is formatted ...
by ukoenig
Fri Jan 23, 2015 12:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 9182

Re: Sudoku with fwh

Silvio,

Local nNumber := 0

...
FOR n := 1 TO LEN(oSquare:aCols)
...
// makes it possible, to pick a number < 1 - 9 > from the header ( right mouseclick ) without a needed celledit
oSquare:aCols[ n ]:bRClickHeader := {|r,c,f,o| nNumber :=o:cHeader }
...
NEXT

// The clicked cell will display the ...
by Silvio.Falconi
Fri Jan 23, 2015 12:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 9182

Re: Sudoku with fwh

nNumber ? I not have this variable