Sunday, December 4, 2022

Crystal Report Formula Convert Amount into Words

 numbervar x := {OINV.DocTotal};


numbervar ipart;


numberVar decpart;


ipart := int(x);


decpart := x - ipart;


Propercase(Replace(towords(ipart)," and xx / 100",""))& " Ringgit" &


if decpart = 0 then "" else " and "&Propercase(Replace(towords(decpart*100)," and xx / 100","")) &" sen";

No comments:

Post a Comment

2315907 - Starting HANA automatically after Host has been started

  Symptom By default the SAP HANA database is configured so that it is not started automatically when the SAP HANA host is rebooted. Environ...