PHP floor()

Rounding Numbers Down with the PHP floor() Function, with Examples

This short tutorial will cover how to use the PHP floor() function to round numbers DOWN – and provide some code examples. The PHP floor() function rounds a number down (and only down!) to the nearest integer. To round a number up to the nearest integer, use the ceil() function instead. To round a number… Read More »Rounding Numbers Down with the PHP floor() Function, with Examples

twister os for raspberry pi

TwisterOS For Raspberry Pi Does It All [Screenshots/Review]

Here’s a screenshot-heavy review of Twister OS – a weird, kitchen-sink included Linux OS for Raspberry Pi with tools for emulation, gaming, and overclocking.  It even comes with Windows and macOS themes! Rather than make you read about what it does, I’ve included screenshots walking… Read More »TwisterOS For Raspberry Pi Does It All [Screenshots/Review]

PHP ceil()

Rounding Numbers Up with the PHP ceil() Function, with Examples

This short tutorial will cover how to use the PHP ceil() function to round numbers UP – and provide some code examples. The PHP ceil() function rounds a number up (and only up!) to the nearest integer. To round a number down to the nearest integer, use the floor() function instead. To round a number… Read More »Rounding Numbers Up with the PHP ceil() Function, with Examples

Python slice()

How to Use the Python slice() Function, With Examples

The Python slice() function can be used to get a portion of a list, tuple, string, or other sequence. This article will show you how to use it. Python slice() Function Syntax Here’s the syntax for the Python slice() function: slice(START, STOP, STEP) Note that: slice() does not return the specified portion… Read More »How to Use the Python slice() Function, With Examples