Decimal conversion of Number to zt-string (still not precise enough). Zt-string copy and length calculation helpers.
This commit is contained in:
@@ -347,7 +347,7 @@ ecma_number_get_fraction_and_exponent (ecma_number_t num, /**< ecma-number */
|
||||
|
||||
*out_fraction_p = fraction;
|
||||
*out_exponent_p = exponent;
|
||||
return ECMA_NUMBER_FRACTION_WIDTH + 1;
|
||||
return ECMA_NUMBER_FRACTION_WIDTH;
|
||||
} /* ecma_number_get_fraction_and_exponent */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user