html, body, form { margin: 0; padding: 0; width: 100%; } #calculate { position: relative; width: 177px; height: 110px; background: transparent url(/images/alphabox/embed_functions_inside.gif) no-repeat scroll 0 0; } #i { position: relative; left: 18px; top: 44px; width: 133px; border: 0 none; outline: 0; font-size: 11px; } #eq { width: 9px; height: 10px; background: transparent; position: absolute; top: 47px; right: 18px; cursor: pointer; }

 Round

 http://functions.wolfram.com/04.03.27.0023.01

 Input Form

 Round[x] == Quotient[x + 1/2, 1] /; Element[x, Reals] && !Element[(2 x - 1)/4, Integers]

 Standard Form

 Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Round", "[", "x", "]"]], "\[Equal]", RowBox[List["Quotient", "[", RowBox[List[RowBox[List["x", "+", FractionBox["1", "2"]]], ",", "1"]], "]"]]]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "\[And]", RowBox[List["Not", "[", RowBox[List[FractionBox[RowBox[List[RowBox[List["2", " ", "x"]], "-", "1"]], "4"], "\[Element]", "Integers"]], "]"]]]]]]]]

 MathML Form

 x quotient ( x + 1 2 , 1 ) /; x TagBox["\[DoubleStruckCapitalR]", Function[Reals]] 2 x - 1 4 TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] x quotient ( x + 1 2 , 1 ) /; x TagBox["\[DoubleStruckCapitalR]", Function[Reals]] 2 x - 1 4 TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] [/itex]

 Rule Form

 Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Round", "[", "x_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["Quotient", "[", RowBox[List[RowBox[List["x", "+", FractionBox["1", "2"]]], ",", "1"]], "]"]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "&&", RowBox[List["!", RowBox[List[RowBox[List[FractionBox["1", "4"], " ", RowBox[List["(", RowBox[List[RowBox[List["2", " ", "x"]], "-", "1"]], ")"]]]], "\[Element]", "Integers"]]]]]]]]]]]]

 Date Added to functions.wolfram.com (modification date)

 2007-05-02