    

 ## On this page

  

 

 # doubleToString

 Last update: 30.07.2026 

public [doubleToString](double-to-string.md)(val: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)

Converts a double to its formatted string representation

#### Return

the resultant string representation

#### Parameters

valthe real to convert#### Throws

[ModelCenterException](./../-model-center-exception/index.md)