Function

round

Returns the value of the given RemoteFloat rounded to the nearest integer.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

round

Android
public fun round(a: RemoteFloat): RemoteFloat

Returns the value of the given RemoteFloat rounded to the nearest integer.

Parameters

a The RemoteFloat to be rounded.