Watch interactive screencast on Scrimba: https://scrimba.com/p/pEgDAM/cWknNUR
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Online Status Detector</title> | |
<style type="text/css"> | |
#indicator { | |
min-height: 100vh; | |
width: 100%; | |
display: flex; |
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 NumberToString | |
{ | |
public static function convertNumber($number) | |
{ | |
$crore = floor($number / 100000000); | |
$number -= $crore * 100000000; | |
$lakh = floor($number / 1000000); |
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
(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD | |
define(['jquery', 'datatables.net'], function ($) { | |
return factory($, window, document); | |
}); | |
} else if (typeof exports === 'object') { | |
// CommonJS | |
module.exports = function (root, $) { | |
if (!root) { |