I know that decision trees make the split based on some metric such as entropy, information gain, gini index etc. But for continous variables how does it figure the value at which to make a split. For example, my split is on age. How does it find out a specific age and decides values greater than this go to right, and vice versa.? Is it the mean value?