Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
Kotlin libraries
Toggle table of contents
1.6
Select version
2.2
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
JS
Native
Platform filter
Common
JS
Native
Switch theme
Search in API
Kotlin libraries
kotlin-stdlib
/
kotlin
/
floatArrayOf
float
Array
Of
Common
JS
Native
fun
floatArrayOf
(
vararg
elements
:
Float
)
:
FloatArray
(
source
)
Returns an array containing the specified
Float
numbers.
Since Kotlin
1.0
fun
floatArrayOf
(
vararg
elements
:
Float
)
:
FloatArray
(
source
)
Since Kotlin
1.1
inline
fun
floatArrayOf
(
vararg
elements
:
Float
)
:
FloatArray
(
source
)
Returns an array containing the specified
Float
numbers.
Since Kotlin
1.3
Thanks for your feedback!
Was this page helpful?
Yes
No