Jump to content

Need help with tax calculator


drunkfux
 Share

Recommended Posts

HI,

nice idea, I thought the same before, but what if somebody copies the price and pastes it to the inputfield? :)

I think, it is very easy to build the func for one regional setting, but to fit every possibility there have to be some guidelines how to use it.

So long,

Mega

This should be the function to validate the input to numbers only:

Func ValidateInput()
    $errorflag = 0
    $errorlog = ""
    If $qualitys < 0 Or $qualitys > 9999999999 Then
       ;Error code here
    Else
       ;
    Endif
Endfunc
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...