I've been webscraping some some data from a web page, in this case I just need a exchange rate.
By webscraping I got a String with this info
¢559.41
But I just need a float number with this
559.41
My code looks like this (the variable datos can be used to save the float number)
public static void main(String [] args) throws IOException{
float datos = 0;
String tasa = null;
Document d = Jsoup.connect("http://indi-eco.appspot.com/tcd").timeout(6000).get();
Elements ele= d.select("span#lblRefSellMsg");
tasa = (ele.text());
}}