answersLogoWhite

0


Best Answer

numbervar RmVal:=0;

numbervar Amt:=0;

numbervar pAmt:=0;

stringvar InWords :="Rupees ";

Amt := numeric value ;

if Amt > 10000000 then RmVal := truncate(Amt/10000000);

if Amt = 10000000 then RmVal := 1;

if RmVal = 1 then

InWords := InWords + " " + towords(RmVal,0) + " crore"

else

if RmVal > 1 then InWords := InWords + " " + towords(RmVal,0) + " crores";

Amt := Amt - Rmval * 10000000;

if Amt > 100000 then RmVal := truncate(Amt/100000);

if Amt = 100000 then RmVal := 1;

if Amt 1 then

InWords := InWords + " " + towords(RmVal,0) + " lakhs";

Amt := Amt - Rmval * 100000;

if Amt > 0 then InWords := InWords + " " + towords(truncate(Amt),0);

pAmt := (Amt - truncate(Amt)) * 100;

if pAmt > 0 then

InWords := InWords + " and " + towords(pAmt,0) + " paisa only"

else

InWords := InWords + " only";

UPPERCASE(InWords)

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Number to words in Indian format in crystal report?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between Crystal Reports and data report in visual basic?

Data report it reports data .. Crystal report it reports crystal thanks GENIUS


What is the advantage of using crystal reports?

1. Secure as End user cannot modifiy the data which is appear in the report if we use crystal report to show the report but in HTML, user can modify the report data 2. Report layout is not transparent, so that end user will not know about how we design the report. But in HTML, anybody can study the report layout and can copy the technology 3. Can export into different format like PDF, HTML, XML, etc., and many more...


Which reports are easy to create rdlc or crystal report in asp.net?

The reports are easier to create iin crystal report.


What is the most common format for a report?

The most common format for a report is IMRAD: Introduction, Methods, Results and Discussion. Reports do not have to follow this format but this structure is standard.


Format of event report class 12 cbse?

The format of event report class 12 CBSE is different depending with the tastes and preferences of the organizers.


What is the name of a book which explains how to create a report with Crystal Reports 10?

There are a few books that are available to explain how to create a report with Crystal Reports 10. One such book would be Creating a Report with Crystal Report 10 - For Dummies. This book can be purchased at a local book store such as Chapters or online at websites like Amazon or eBay.


What is the easiest narrative format report?

The easiest narrative report format is that employed by court reporters, straight recording. It does take special training to report as a court reporter, however this is most expedient and accurate.


Soap and cheddar are acronyms that are used as format for?

Format in which way physicains will provide the patients report.


What view enables you to format a report while viewing a sample of the report data?

Layout view


How do you install crystal reports for php?

how to create report in php


Which tools allows a user to design a report format for print or screen display?

a report generator


What is the explanation for the format for long reports?

What is long report? Save