This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Foureightnine { | |
public static void main(String[] args) | |
{ | |
double a = 4.89; | |
double b = a * 100; | |
System.out.print(b); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main() { | |
double a = 4.89; | |
double b = a * 100; | |
printf("%f", b); | |
return 0; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> a = 4.89 | |
>>> a | |
4.89 | |
>>> b = a * 100 | |
>>> b | |
488.99999999999994 | |
>>> int(b) | |
488 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CastToIntTest extends PHPUnit_Framework_TestCase | |
{ | |
public function testCastToInt() | |
{ | |
$a = 4.89; | |
$b = $a * 100; | |
$c = (int) $b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
traceroute to getcomposer.org (87.98.253.108), 30 hops max, 60 byte packets | |
1 router.intra (192.168.1.254) 1.468 ms 13.655 ms 13.664 ms | |
2 217.0.117.227 (217.0.117.227) 19.031 ms 19.044 ms 19.039 ms | |
3 217.237.155.74 (217.237.155.74) 33.895 ms 33.911 ms 33.905 ms | |
4 f-ed3-i.F.DE.NET.DTAG.DE (62.154.14.194) 33.900 ms 33.896 ms 33.892 ms | |
5 * * * | |
6 fra-5-6k.fr.eu (94.23.122.218) 35.093 ms * * | |
7 * * * | |
8 * * * | |
9 * * * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# click on the desktop to get menus | |
OnDesktop Mouse1 :HideMenus | |
OnDesktop Mouse2 :WorkspaceMenu | |
OnDesktop Mouse3 :RootMenu | |
# scroll on the desktop to change workspaces | |
OnDesktop Mouse4 :PrevWorkspace | |
OnDesktop Mouse5 :NextWorkspace | |
# scroll on the toolbar to change current window |
NewerOlder