Solved How to keep Rupee and Paise separately? (Dollars and Cents Maybe) (1 Viewer)

prabha_friend

Prabhakaran Karuppaih
Local time
Today, 09:55
Joined
Mar 22, 2009
Messages
784
Hi All,
I am Developing a POS database for my friend. In the bill he wants to show how much rupee and also how much paise does an item cost in two separate textboxes (Currency). How to achieve this? Please Help. Thank
 

Gasman

Enthusiastic Amateur
Local time
Today, 05:25
Joined
Sep 21, 2011
Messages
14,299
You could use Int() for the Rupee and field value - Int() for the Paise.
 
Last edited:

prabha_friend

Prabhakaran Karuppaih
Local time
Today, 09:55
Joined
Mar 22, 2009
Messages
784
Yes. This Works:
You could use Int() for the Ruppe and field value - Int() for the Paise.
txt_Rupee.value = int(Total)
txt_Paise.value = total-int(Total)
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 00:25
Joined
Feb 19, 2002
Messages
43,275
Me.txt_Rupee = int(Total)
Me.txt_Paise = total-int(Total)

This gives you intellisense. The .Value property is the default and so can be omitted.
 

Users who are viewing this thread

Top Bottom