diff --git a/src/LuauRenderer/nodes/expressions/renderNumberLiteral.ts b/src/LuauRenderer/nodes/expressions/renderNumberLiteral.ts index 77ec965..1c754b1 100644 --- a/src/LuauRenderer/nodes/expressions/renderNumberLiteral.ts +++ b/src/LuauRenderer/nodes/expressions/renderNumberLiteral.ts @@ -2,5 +2,5 @@ import luau from "LuauAST"; import { RenderState } from "LuauRenderer"; export function renderNumberLiteral(state: RenderState, node: luau.NumberLiteral) { - return luau.isValidNumberLiteral(node.value) ? node.value + "0" : String(Number(node.value.replace(/_/g, ""))); + return luau.isValidNumberLiteral(node.value) ? node.value : String(Number(node.value.replace(/_/g, ""))); }