Skip to content

Commit

Permalink
Unbreak thing
Browse files Browse the repository at this point in the history
  • Loading branch information
osyrisrblx committed Oct 5, 2023
1 parent 476ea55 commit 13101f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LuauRenderer/nodes/expressions/renderNumberLiteral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, "")));
}

0 comments on commit 13101f4

Please sign in to comment.