intval_dg