Skip to content

Concatinating Constants into a string doesn't work with decimal numbers #60

Description

@timshannon

If you drop this code into the web app you'll be able to see the issue:

--[[const]]
WHOLE_NUMBER = 30
--[[const]]
DECIMAL_NUMBER = 0.1


local test = "test,"..WHOLE_NUMBER

local test2 = "test,"..DECIMAL_NUMBER
pico-8 cartridge // http://www.pico-8.com
version 42
__lua__
local l,l="test,30","test,".. .1
__meta:title__
[[const]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions