-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Are resource unit types missing?
It might be useful to be able to type 4K instead of 4000 and 3M instead of 3000000.
Additionally, defining a unit of measurement could be used for checking diagram correctness.
//multiplies fixed point value Meter resources by 100 automatically
unit Meter times 100
//explicit unit conversion
user converter buyRange from XP to Meter
//pool has unit of measurement XP
pool xp of XP
//pool has unit of measurement Meter
pool range of Meter
costRange: xp -5K-> buyRange
getRage: buyRange --> range
Not sure if this is a good idea.