US inflation held steady at 2.4 per cent in February, with the White House expecting war-related price shocks to be “temporary.”