MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / fromString

Method fromString

src/yvalve/utl.cpp:1351–1363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1349 }
1350
1351 void fromString(CheckStatusWrapper* status, const char* from, FB_DEC34* to)
1352 {
1353 try
1354 {
1355 DecimalStatus decSt(FB_DEC_Errors);
1356 Decimal128* val = reinterpret_cast<Decimal128*>(to);
1357 val->set(from, decSt);
1358 }
1359 catch (const Exception& ex)
1360 {
1361 ex.stuffException(status);
1362 }
1363 }
1364};
1365
1366IDecFloat34* UtilInterface::getDecFloat34(CheckStatusWrapper* status)

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected