Lua Style Guide: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
→Table literals: - Changed '3.1415' to '3.1416', due to '3.14159' rounding up.
>NecroBumpist (Add semicolons section. Expand about table literals.) |
>Trappingnoobs (→Table literals: - Changed '3.1415' to '3.1416', due to '3.14159' rounding up.) |
||
Line 117: | Line 117: | ||
a = "potato"; | a = "potato"; | ||
b = "Taco!"; | b = "Taco!"; | ||
c = 3. | c = 3.1416; | ||
new = { | new = { | ||
reaction = "yay!"; | reaction = "yay!"; |