![]() |
in PHP ganzzahlig teilen bsp.: 2 / 1,5 = 1
So wie ich in delphi "div" zum ganzzahligen teilen benutzen kann will ich auch in php den nachkomme teil nicht haben. wie geht das?
|
Re: in PHP ganzzahlig teilen bsp.: 2 / 1,5 = 1
Code:
:hi:
$x = floor(9 / 4);
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:12 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz