Creator Help

cos

This topic describes the syntax and usage of the cos function in Zoho Creator .

Description

The cos function returns decimal specifying the cosine of an angle.

Syntax

<number>.cos()

(or)

cos(<number>);   // This format is supported only in free-flow scripting mode of script builder.

The cos function syntax has the following arguments:

Number - Required. The number (integer/decimal) that expresses an angle in radians.

Return Value

Returns a decimal value representing the cosine of an angle.

Example

cos(1.5) 

(or)

(1.5).cos() 

Top

span>
https://creatorexport.zoho.com/sampleapps/estimate/xls/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra

TSV

https://creatorexport.zoho.com/sampleapps/estimate/tsv/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra

PDF

https://creatorexport.zoho.com/sampleapps/estimate/pdf/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra

HTML

https://creatorexport.zoho.com/sampleapps/estimate/html/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra

JSON

https://creatorexport.zoho.com/sampleapps/estimate/json/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra

XML/RSS

xml/rss export always downloads only the latest 25 records. If you want to download a maximum of 2000 records at a time (more than 2000 records is not supported) add ”complete=true” as an extra parameter. URL samples given below. 

XML/RSS
 Regular download (25 rows)

https://creatorexport.zoho.com/sampleapps/estimate/rss/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra

XML/RSS
: Maximum download (2000 rows)

https://creatorexport.zoho.com/sampleapps/estimate/rss/Items_View/w2aFGua1JMQjn1bhtvgXFwwd3HE7mshFwY4JZ254rhu8jkDgsYxkFWJtSbwHrjWeHB0AHCpZApQP9SWmAhCR6RWCEjrkWOGmJjra/complete=true

Page Permalink

Use the page permalink, if you do not want to share your application with users but just want to send them a link to view your data or to link the report in your website/blog.

To generate permalink for a page (publish url),

  1. From your application dashboard page click on Publish link of the page to be published (or) select the page and click on Settings - Publish option.
  2. The Publish page will be displayed with a preview of the page to be published
  3. Click on Publish button to generate the permalink (publish url) of the page. Copy/Paste the permalink to your website/blog or send it to people who would like to access the report.

                                                   
                              Screen shot of the publish page for a Page with generated permalink (publish URL) 

Sample URL Format

https://creator.zohopublic.com/< app owner name/ < app name >/view-perma/<page name>/< encrypted code >

Sample URL

https://creator.zohopublic.com/sampleapps/sales-database/view-perma/Dashboard/tC5xFV9a3pB2
Did you find what you were looking for? Yes | No

Top