function OnStart()
{
lay=app.CreateLayout("linear", "VCenter, FillXY")
txt=app.AddText(lay, "Hello")
app.AddLayout(lay)
num = 25.345678
//to round it to 25.346
r = num.toFixed( 3 )
//to truncate it to 24.345
t=(Math.floor(num*1000)/1000).toFixed( 3 )
app.Quit( r + "\n" + t). // display both