Search code examples
mps

MPS Double values as Concect propterties


Trying to add a double property to my Concept:

concept Location extends BaseConcept
....
  properties:
  longitude : double
  latitude : double

I know that properties is looking for PrimitiveDataTypeDeclaration, but I just find there integer, strings and boolean.

How can I add doubles?


Solution

  • Use the _FPNumberString type to hold double values in properties