Audio format for iOS and Android

Android and iOS use the same server to storage records. All records are saved without any extension. When Android downloads a record from the server, my app adds an “.aac” extension. When using iOS, it adds an “.m4a” extension. The same record plays good on both mobile platforms. Record on iOS: NSDictionary recorderSettings = [[NSDictionary … Read more

Convert number into xx.xx million format? [closed]

Try this from, https://php.net/manual/en/function.number-format.php#89888: <?php function nice_number($n) { // first strip any formatting; $n = (0+str_replace(“,”, “”, $n)); // is this a number? if (!is_numeric($n)) return false; // now filter it; if ($n > 1000000000000) return round(($n/1000000000000), 2).’ trillion’; elseif ($n > 1000000000) return round(($n/1000000000), 2).’ billion’; elseif ($n > 1000000) return round(($n/1000000), 2).’ million’; … Read more