2026-07-22 07:54:56 +00:00
|
|
|
// Module ID: 13055
|
|
|
|
|
// Function ID: 99340
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: FormatNumericToParts
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-22 07:54:56 +00:00
|
|
|
// Module 13055 (FormatNumericToParts)
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.FormatNumericToParts = function FormatNumericToParts(arg0, isNaN, getInternalSlots) {
|
|
|
|
|
let length;
|
|
|
|
|
let num = 0;
|
|
|
|
|
const result = isNaN(arg6[0]).PartitionNumberPattern(getInternalSlots.getInternalSlots(arg0), isNaN);
|
|
|
|
|
const ArrayCreateResult = isNaN(arg6[1]).ArrayCreate(0);
|
|
|
|
|
if (0 < result.length) {
|
|
|
|
|
do {
|
|
|
|
|
let iter = result[num];
|
|
|
|
|
let obj = { type: iter.type, value: iter.value };
|
|
|
|
|
let arr = ArrayCreateResult.push(obj);
|
|
|
|
|
num = num + 1;
|
|
|
|
|
length = result.length;
|
|
|
|
|
} while (num < length);
|
|
|
|
|
}
|
|
|
|
|
return ArrayCreateResult;
|
|
|
|
|
};
|