Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

to_string function

Write a value as a string.

How to write it

to_string(expr)

expr
Any expression: a number, a formula, a list or a matrix. Takes an expression.

Examples

  • to_string⁡(12+1)=13\displaystyle \operatorname{to\_string}(12+1) = \text{13}
    to_string(12 + 1)

    In the solver, to_string(12 + 1) gives "13".

    Open in the solver