Skip to Content
0
Former Member
Jun 24, 2005 at 01:06 AM

About HTMLB InputField's CURRENCY

80 Views

Hi, everyone...

Did you have experienced using HTMB:InputField?

I have a question about currency type of htmlb:inputfield.

The p_sflight variable is a abap dictionary SFLIGHT TYPE

and the value is a page attribute and auto is checked.

<htmlb:inputField id = "p_sflight-price"

submitOnEnter = "true"

value = "<%= p_sflight-price %>"

currency = "<%= p_sflight-currency %>"

type = "CURRENCY"

maxlength = "13"

size = "27"

disabled = "false" />

If the p_sflight-price has a value '100.00', the value

output '100,000' correctly on the web because the p_sflight-currency has a value 'KRW' as Korea curreny type.

IF a user input '1900' as a p_sflight-price, the value has a '1900' and the output is '190,000' on the web....

Why the htmlb:inputfield is not consisder currency input?

I think that a user input '1900' then the value will have a '19.00'....

I am sorry for my clusmy Engligh...