in summary for the benefit of the rest in the forum learning EJS like me.

[b]Model Variables[/b]
s_vx    declared as string

[b]Model constraints[/b]
s_vx ="vx="+double2String(vx,100.)+"m/s" ;

[b]Model custom  [/b]                    ;D cut and paste the codes ;D

double dv;
public String double2String(double v,double divider){
if(v>0)dv=0.5;
else if(v<0)dv=-0.5;
else dv=0;
return (int)(v*divider+dv)/divider+"";
}

[b]View property for text  text[/b][img][/img]

%s_vx%