QuestionQ28Verified/Using Single-Row Functions to Customize OutputCopy linkReport a problemAsk AstroTutorSave questionWhich statement is true regarding the ROUND, TRUNC, and MOD functions?ATRUNC(MOD(25,3),-1) is invalid.BROUND(MOD(25,3),-1) is invalid.CROUND(MOD(25,3),-1) and TRUNC(MOD(25,3),-1) are both valid and give the same result.DROUND(MOD(25,3),-1) and TRUNC(MOD(25,3),-1) are both valid but give different results.Show AnswerAnswerExplanationMOD(25,3) returns 1. A negative precision is valid for both numeric ROUND and TRUNC and applies to digits left of the decimal point. Consequently, both ROUND(1,-1) and TRUNC(1,-1) return 0.Learn moreOracle Database SQL Language Reference: MODOracle Database SQL Language Reference: ROUND (number)Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion