PLN amount in words (kwota słownie)
1.6
|
PLN numerical amount in words. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <math.h>
#include "plntowords.h"
Go to the source code of this file.
Functions | |
char * | pln_amount_txt_double (double d_price) |
Function converts price (in PLN) given as a floating point number to a word version. More... | |
char * | pln_amount_txt (uint64_t ui_inprice) |
Function converts price (in PLN) given as an integer number to a word version. More... | |
PLN numerical amount in words.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file plntowords.c.
char * pln_amount_txt_double | ( | double | d_price | ) |
Function converts price (in PLN) given as a floating point number to a word version.
[in] | d_price | Price in double format eg. 100.00 |
Definition at line 203 of file plntowords.c.
char * pln_amount_txt | ( | uint64_t | ui_inprice | ) |
Function converts price (in PLN) given as an integer number to a word version.
[in] | ui_inprice | Price in integer format. It should be multiplied by 100 eg. price 100.00 should be passed as 10000 |
Definition at line 218 of file plntowords.c.