Clarify floating-point to integral conversion rounding behaviour
This commit is contained in:
@@ -95,7 +95,7 @@ Kotlin.Long.fromInt = function(value) {
|
||||
|
||||
/**
|
||||
* Converts this number value to `Long`.
|
||||
* The fractional part, if any, is rounded down.
|
||||
* The fractional part, if any, is rounded down towards zero.
|
||||
* Returns zero if this `Double` value is `NaN`, `Long.MIN_VALUE` if it's less than `Long.MIN_VALUE`,
|
||||
* `Long.MAX_VALUE` if it's bigger than `Long.MAX_VALUE`.
|
||||
* @param {number} value The number in question.
|
||||
|
||||
Reference in New Issue
Block a user