S value not numberic in surpac
![s value not numberic in surpac s value not numberic in surpac](https://i.ytimg.com/vi/eUn5r2Wz2Q4/maxresdefault.jpg)
is_float(12.25) is _always_ TRUE, 12.25 is a PHP language construct (a "value") and the way PHP interpretes files is definitely _not_ affected by the locale And is_numeric(12) and is_float(12) is always TRUE
![s value not numberic in surpac s value not numberic in surpac](https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/chCapture_1.png)
if you don't enclose 12,25 with quotes the first argument will be the inspected value (12), the second value (25) is discarded. The function gets _two_ arguments: 12 and 25 (depending on PHP version and setup you may additionally get a PHP warning) you have to enclose 12,25 with quotes otherwise PHP will think that set_locale() does not exist, you must use setlocale() instead Referring to previous post "Be aware if you use is_numeric() or is_float() after using set_locale(LC_ALL,'lang') or set_locale(LC_NUMERIC,'lang')":
S VALUE NOT NUMBERIC IN SURPAC ARCHIVE
Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting User Submitted Data Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation GUI Extensions Keyboard Shortcuts ? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search