21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Setting 1 Setting 2<br />

String 35,648.00 35,648.00<br />

Number 35648 35648<br />

num( pi( ), '0,00' ) returns:<br />

Setting 1 Setting 2<br />

String 3,14 003<br />

Number 3.141592653 3.141592653<br />

Back to Other Functions.<br />

Money<br />

money(expression [ , format-code [ , decimal-sep [ , thousands-sep<br />

] ] ])<br />

The money function formats the expression numerically according to the string given as format-code. Decimal<br />

separator and thousands separator can be set as third and fourth parameters. If the parameters 2-4 are<br />

omitted, the number format that is set in the operating system will be used.<br />

Examples:<br />

The examples below assume the two following operating system settings:<br />

Default setting 1 Default setting 2<br />

Money format kr # ##0,00 $ #,##0.00<br />

money( A ) where A=35648 returns:<br />

Setting 1 Setting 2<br />

String kr 35 648,00 $ 35,648.00<br />

Number 35648.00 35648.00<br />

money( A, '#,##0 ¥', '.' , ',' ) where A=3564800 returns:<br />

Setting 1 Setting 2<br />

String 3,564,800 ¥ 3,564,800 ¥<br />

Number 3564800 3564800<br />

Back to Other Functions.<br />

Date<br />

date(expression [ , format-code ])<br />

The date function formats the expression as a date according to the string given as format-code. If the format<br />

code is omitted, the date format set in the operating system is used.<br />

Examples:<br />

The examples below assume the two following operating system settings:<br />

357

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!