Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Posts
    11

    Unanswered: how to convert rupees into words

    hi ,
    I want to create a function in sql server 2000 which can display the given input currency into words but in indian format eg , '12345678.50' should display as One crore twenty lacs fourty five thousand six hundred and seventy eight rs fifty paise only . Can anybody help pls

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Somewhere I've got a stored procedure that goes to Arawb, but it ignores paise. It could be easily retrofitted as a function if I can find it again.

    -PatP

  3. #3
    Join Date
    Feb 2008
    Posts
    11
    Pls find it if u can .

  4. #4
    Join Date
    Oct 2007
    Location
    Chicago, IL
    Posts
    82
    Couldn't this easily be accomplished with some IF statements and the mod operator (dividend % divisor)? Granted you'd have to have a ceiling (arawb, kharab, whatever) but it doesn't sound very complicated.

  5. #5
    Join Date
    Feb 2008
    Posts
    11
    Yes it doesnt sound complicated but i found it complicated to create .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •