Mercurial > js4py-pl-slides
changeset 162:d2292b860f11
created
| author | Radomir Dopieralski |
|---|---|
| date | Sat, 15 Sep 2012 13:54:39 +0200 |
| parents | 09da63983d0b |
| children | 9fdd2e763356 |
| files | docs/Konwersje |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/Konwersje Sat Sep 15 13:45:43 2012 +0200 +++ b/docs/Konwersje Sat Sep 15 13:54:39 2012 +0200 @@ -1,6 +1,6 @@ |= Typ =|= Python =|= JavaScript =| | String | {{{str(x)}}} | {{{'' + x}}} | -| Float | {{{float(x)}}} | {{{0 + x}}} | +| Float | {{{float(x)}}} | {{{+x}}} | | Integer | {{{int(x)}}} | {{{Math.round(x)}}} | | Boolean | {{{bool(x)}}} | {{{!!x}}} | | Object | - | {{{Number(x)}}}, {{{String(x)}}} |
