It actually seems to work without converting the fFlag variable. Just using the decimal equivalent works just fine.