Hi rocko As you can read this http://gambasdoc.org/help/lang/round you have to put perAmnt = Round((prmAmnt / totAmnt * 100), -2). In addition you'd have to convert the Text to float on before to do the division to avoid errors or using ValueBox.
Regards, Ricardo Díaz 2012/7/27 LeszekK <lkne...@gmail.com> > ValueBox1.Value = perAmnt > > 2012/7/27 LeszekK <lkne...@gmail.com>: > > ValueBox1.Value = perAmnt & "%" > > > > -- > Serdecznie pozdrawiam, > > Leszek Kubiszewski > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user