Maybe this has something to do with your regional settings from your machine.

Pascal



|---------+----------------------------->
|         |           "Mister L"        |
|         |           <n.herbert.leberba|
|         |           [EMAIL PROTECTED]>       |
|         |                             |
|         |           22-09-2003 12:19  |
|         |           Please respond to |
|         |           development-axapta|
|         |                             |
|---------+----------------------------->
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
 |                                                                                     
                                                             |
 |        To:      <[EMAIL PROTECTED]>                                                 
                                            |
 |        cc:                                                                          
                                                             |
 |        Subject: AW: [development-axapta] Change of 5 decimals from 2 decimals of 
'Price' (Extended Datatype)                                     |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|



Which way did you choose for displaying the result?

- info()
- print()
- something else?

I think that print() and info(strfmt()) always show 2 decimals.

Try using info(num2str(...)).

BG
Herbert

| -----Ursprüngliche Nachricht-----
| Von: seong_ky [mailto:[EMAIL PROTECTED]
| Gesendet: Montag, 22. September 2003 11:51
| An: [EMAIL PROTECTED]
| Betreff: [development-axapta] Change of 5 decimals from 2 decimals of
| 'Price' (Extended Datatype)
|
|
| Does anyone got any idea what's wrong with my customization?? I have
| edited the Extended Datatype for 'Price' to increase from 2 decimals
| to 5 decimals.
|
| I can see all the Price in InventTableModule has changed to 5
| decimals from the screen and also from the table browser.
|
| However, when I try to write a simple job to retrieve one item from
| the table using
| InventTableModule::find(ItemId, ModuleInventPurchSales::Purch).price
| (), I get the 2 decimals instead of 5 decimals.
|
| Does anyone know why this thing happen ??
|
|
|
|
|
| Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|
|
|






Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/










Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to