ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-spanish
php-spanish
[PHP-ES] raro resultado
by Carlos Eduardo Sotelo Pinto other posts by this author
Oct 20 2009 8:08AM messages near this date
[PHP-ES] Symfony Performance: JOBEET (PROPEL-DOCTRINE) | Re: [PHP-ES] raro resultado
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hola lista

una consulta, esta linea me da como resultado 7, pero si le extraigo el (int) me da 8.0, por
 que?

print (int)((0.1+0.7)*10);

un abrazo

- --
Atte.
Carlos Eduardo Sotelo Pinto a.k.a. krlos
http://csotelo.blogspot.com
- --
 . ''`. Debian Gnu Linux System Administrator  ,= ,-_-. =.
: :'  : Free and OpenSource Software Developer((_/)o o(\_))
`. `'`  GNULinux Registered User #379182       `-'(. .)`-'
  `-    GNULinux Registered Machine #277661        \_/
GNULinux Arequipa Users Group||Debian Arequipa Users Group
- --
keyserver.pgp.com 0xF8554F6B
GPG FP:697E FAB8 8E83 1D60 BBFB 2264 9E3D 5761 F855 4F6B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrdv0cACgkQnj1XYfhVT2spywCfQioKqgN1U/8aXe559p2o/yqe
4lwAoJ2jWDXUn3D1AuwzhhG/kDWSd1yh
=CopO
-----END PGP SIGNATURE-----

-- 
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Carlos Eduardo Sotelo Pinto
Jonathan Tapicer
Carlos Eduardo Sotelo Pinto
Mauricio Cuenca
Carlos Eduardo Sotelo Pinto
Jonathan Tapicer
Carlos Eduardo Sotelo Pinto

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved