float ? 
                  
                  
                  
                  
                  
                  I tried float.parse, float.tryparse and Single.parse with bad result (FormatException: Input string was not in a correct format.) 
                  
                  
                  
                  
                  
                  I print the string before trying to parse it and it's correct (values like "3.5" or "4.87", etc.)
                  
                  
                  
                  
                  
                  Any ideas?
                  
                  
                
Try decimal
Обсуждают сегодня