Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building strings similar ways as printf

    Hi
    In printf you can build strings for printing in a way similar to eg Python.
    Is there something like
    Code:
    x = "Variable %s = %6.2f" % (age, 56.34567)
    giving the value "Variable age = 56.35" to x in Mata?
    Kind regards

    nhb

  • #2
    Hi
    Excellent, thank you very much
    Kind regards

    nhb

    Comment

    Working...
    X