sign
Android
public fun sign(a: RemoteFloat): RemoteFloat
Returns the sign of the given RemoteFloat a.
Parameters
| a | The value whose sign is to be returned. |
Returns
| 1.0 if the value is positive, -1.0 if it is negative, and 0.0 if it is zero. |
Returns the sign of the given RemoteFloat a.
RevenueCat
Add subscriptions to your apps in minutes
public fun sign(a: RemoteFloat): RemoteFloat
Returns the sign of the given RemoteFloat a.
| a | The value whose sign is to be returned. |
| 1.0 if the value is positive, -1.0 if it is negative, and 0.0 if it is zero. |