Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
renuka_sasikumar
Creator III
Creator III

Function

What is the function used to show 2.3 as 3.

9 Replies
Siva_Sankar
Master II
Master II

Round(2.3)

Regards.

Siva

arulsettu
Master III
Master III

hi

use round of function...

MK_QSL
MVP
MVP

round( x [ , base [ , offset ]])

Rounding of x upwards or downwards to the nearest multiple of base with an offset of offset. The result is a number. If x is exactly in the middle of an interval, it is rounded upwards.

Examples:

round( 2.4 ) returns 2

round( 2.6 ) returns 3

round( 2.5 ) returns 3

round( 3.88 , 0.1 ) returns 3.9

round( 3.88 , 5 ) returns 5

round( 1.1 , 1 , 0.5 ) returns 1.5

Not applicable

frac() returns the decimal part

floor() returns the integer part

frac(x)+floor(x) = x

Fabrice

NavinReddy
Creator II
Creator II

=Ceil(2.3) try this

Not applicable

hi try this

ceil( 2.3 ) returns 3

Not applicable

hi Renuka,

i think u got Answer for your question so please mark this question As answered by choosing Correct answer

so it will help others also

those who are searching for same type Of Qustions

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try

Ceil(Number)

Regards,

Jagan.

amit_saini
Master III
Master III

Hi Renuka,

Try this :

Ceil(Your_Field) as Your_number

Thanks

AS