Home
Helium
What is a Helium Hotspot?
How to Install a Helium Hotspot
Helium Maps and Elevation Measuring
Helium Hotspot Cables and Connections
Port Forwarding – Helium Miner
Things to Consider when installing a Helium Miner
Helium Hotspot Antenna Gallery
Best Stablecoin Investing Websites
Helium Staking
Crypto Blog
HotspotRF Referral code 2022
PHP
Php – Arrays
Php – Csv
Php – Dates & Time
Php – Email
Php – Loops
Php – Maths
Php – Miscellaneous
Php – Strings
Jquery
Jquery – Ajax
Jquery – Forms Posting
Jquery – Modals
Jquery – Strings
Jquery – Tricks
Jquery – Validation
Jquery – Variables
Jquery – Misc
MySQL
CSS
Javascript
WordPress
Admin – WP
WooCommerce
WordPress – Get
WordPress – Miscellaneous
WordPress – Show
WordPress – News
Misc
Firefox
Python
Random Coding
Raspberry Pi
Reviews
SEO
SEO News
Sublime Text
Windows
Menu
Home
Helium
What is a Helium Hotspot?
How to Install a Helium Hotspot
Helium Maps and Elevation Measuring
Helium Hotspot Cables and Connections
Port Forwarding – Helium Miner
Things to Consider when installing a Helium Miner
Helium Hotspot Antenna Gallery
Best Stablecoin Investing Websites
Helium Staking
Crypto Blog
HotspotRF Referral code 2022
PHP
Php – Arrays
Php – Csv
Php – Dates & Time
Php – Email
Php – Loops
Php – Maths
Php – Miscellaneous
Php – Strings
Jquery
Jquery – Ajax
Jquery – Forms Posting
Jquery – Modals
Jquery – Strings
Jquery – Tricks
Jquery – Validation
Jquery – Variables
Jquery – Misc
MySQL
CSS
Javascript
WordPress
Admin – WP
WooCommerce
WordPress – Get
WordPress – Miscellaneous
WordPress – Show
WordPress – News
Misc
Firefox
Python
Random Coding
Raspberry Pi
Reviews
SEO
SEO News
Sublime Text
Windows
Search
Generic filters
Hidden label
Exact matches only
Php - Maths
Add a leading zero to numbers – Sprintf
Divide by zero errors
Get Percentage of a number
Number formatting, rounding up PHP
Show only 2 decimal places
Show only whole numbers Floor – Round
Division by zero
14th February 2014
Php - Maths
if ($costyest > 0 ) { $cpayesterday = $costyest/$conversionsyest; } else { $costyest = "0"; }
1
2
3
4
5
6
7
8
9
if
(
$
costyest
>
0
)
{
$
cpayesterday
=
$
costyest
/
$
conversionsyest
;
}
else
{
$
costyest
=
"0"
;
}
Was this code snippet helpful?
Yes
1
No
0
Comment on this Code Snippet?
How to check if a checkbox has been ticked in Jquery
Firefox 89-100 (2022) Tabs on top/bottom not working fixed again
Slash canonicalization at the end of the URL – htaccess
Elementor json template files not uploading
Multiple featured images for blog posts
Autostart Browser in Kiosk Mode – Raspberry Pi 4 Terminal Command
Open Chromium full screen -Raspberry Pi (Kiosk mode)
Populate dropdown with data from database
Exclude a specific page from WordPress sitemap – wp-sitemap.xml
Firefox screenshot button missing – Version 88
Best FAQ Schema for Rich Results
WordPress sitemap not working after uninstalling Yoast
Send – Serialize form and send extra variables
Show time on Raspberry Pi from command line
wp-sitemap.xml not showing after disabling Yoast
WordPress app shows XML-RPC error
Recommended WordPress Security Headers in .htaccess
Basic Woocommerce Admin Tutorials
Get the ID of the last inserted record
Redirect your old website to other domain using .htaccess file
Import csv to phpmyadmin
Create a plugin with shortcode for Elementor – Most basic ever!
Add how many left in stock on products stock controlled only – Woocommerce
Add a dropdown to Woocommerce Checkout Fields