<h2 id="sign-a">sign</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun sign(a: RemoteFloat): RemoteFloat
```

Returns the sign of the given [RemoteFloat](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/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. |