Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

ASP difficulty

  • 03-04-2002 7:04pm
    #1
    Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭


    I'm trying to read a currency value from a ms access database using an ASP web page but it refuses to recognise the values after the decimal point. I'm using the following statement to carry out this task:

    <%=FormatCurrency(myproducts("Cost_per_unit"))%>

    However as i said it doesn't recognise the values after the decimal point and i was just wondering if anyone ahs come across this problem before and managed to solve it.


Comments

  • Subscribers Posts: 4,419 ✭✭✭PhilipMarlowe


    Newbie here, but I think you need to tell it how many decimal places you need.. i.e., 2

    Edited Try this:

    <%= FormatCurrency((myproducts("Cost_per_unit")), 2) %>

    failing that, read this for more info...

    :confused:


Advertisement