Example #1
0
bool plKeysAndValues::KeyHasValue(const std::string & key, double value)
{
    char buf[30];
    sprintf(buf, "%f", value);
    std::string v(buf);
    return KeyHasValue(key, v);    
}
Example #2
0
bool plKeysAndValues::KeyHasValue(const plString & key, double value)
{
    return KeyHasValue(key, plFormat("{f}", value));
}