14 03, 2009

cos

By | 2009-03-27T14:30:20+00:00 March 14th, 2009|Categories: PHP, Ruby|Tags: , , |Comments Off on cos

Returns the cosine of the argument provided in radians.

PHP

echo cos(0.5);
// => 0.87758256189037;

Ruby

puts Math.cos(0.5);
# => 0.877582561890373;
11 03, 2009

ceil

By | 2009-03-27T14:30:38+00:00 March 11th, 2009|Categories: PHP, Ruby|Tags: , , , , |Comments Off on ceil

Returns the next highest integer value by rounding up the argument provided.

PHP

echo ceil(4.1);
// => 5

Ruby

puts 4.1.ceil;
# => 5

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.