Almost as question https://leetcode.com/problems/palindrome-number/
boolean isPalindrome(floax x)But instead of an int as the input we have a float. I was told I could not convert the number to a string. I was not able to find a solution but I explain how I would solve it if i could convert the num to the string.
I was confused because the hint i received was to split the number from "." and was not sure how ?
I try to use the solution from leetcode #9 but that only works if x = 121f but not 121.121f