${uiLabelMap.CommonDepth}: ${product.productDepth?if_exists} ${((depthUom.abbreviation)?default(product.depthUomId))?if_exists}
@@ -474,7 +474,7 @@ ${virtualJavaScript?if_exists}
<#else>
- <#assign isStoreInventoryNotAvailable = !(Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryAvailable(request, product, 1.0?double))>
+ <#assign isStoreInventoryNotAvailable = !(Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryAvailable(request, product, 1.0))>
<#assign isStoreInventoryRequired = Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequired(request, product)>
<#if isStoreInventoryNotAvailable>
<#if isStoreInventoryRequired>
@@ -618,7 +618,7 @@ ${virtualJavaScript?if_exists}
<#-- Product Reviews -->
${uiLabelMap.OrderCustomerReviews}:
- <#if averageRating?exists && (averageRating?double > 0) && numRatings?exists && (numRatings?double > 1)>
+ <#if averageRating?exists && (averageRating > 0) && numRatings?exists && (numRatings > 1)>
${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings?exists>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})#if>
#if>
|
diff --git a/applications/ecommerce/webapp/ecommerce/forum/forumPaging.ftl b/applications/ecommerce/webapp/ecommerce/forum/forumPaging.ftl
index 27f9654ac7e..094f8cb3474 100644
--- a/applications/ecommerce/webapp/ecommerce/forum/forumPaging.ftl
+++ b/applications/ecommerce/webapp/ecommerce/forum/forumPaging.ftl
@@ -25,8 +25,8 @@ under the License.
<#assign listSize = forumMessages?size/>
<#if highIndex gt listSize><#assign highIndex = listSize>#if>
- <#assign r = listSize?double / viewSize?double />
- <#assign viewIndexMax = Static["java.lang.Math"].ceil(r?double)>
+ <#assign r = listSize / viewSize />
+ <#assign viewIndexMax = Static["java.lang.Math"].ceil(r)>