i am making a module in vb.net which will convert number of grams to number of tola masha and ratti respectively.
1 tola = 12 masha
1 masha= 8 ratti
while
1 tola = 12.5 grams
i can make number of tolas by number of grams \ 12.5
but can go any further.
Affable zaki
0
Newbie Poster
Recommended Answers
Jump to PostThe first step is represent every type you want to convert as Tola. Doing this you get a table like this:
Grams = 12.5 Tola = 1 Masha = 12 Ratti = 20
form this a simple formula will convert from any type to any type. …
All 3 Replies
tinstaafl
1,176
Posting Maven
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
Affable zaki
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.