编辑器
#include
#include
int main() { char str[] = "4.25% above average"; float amount = atof(str); printf("%f", amount); return 0; }
4.250000