Horje
How to count if Number is below than 10 sum

AFAIK You can´t do this with your aggregation query. Launch the query and, by code, check the count.


How to count if string is below than 10 sum

Follow the Example.

index.php
Example: PHP
<?php
$data = 5;
 if ( $data < 10 ){
    echo 'Below';
 } else {
    echo 'Upper';
 }
?>





Category:
Web Tutorial
Sub Category:
PHP String Tutorial
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference